diff --git a/ChangeLog b/ChangeLog index ba0c0530b90816..b8959a1fe2219f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Jul 22 13:55:59 2011 Eric Hodel + + * lib/net/http.rb: Net::HTTP#finish is used to manually close + connections. [Ruby 1.9 - Bug #5045] + Fri Jul 22 13:51:29 2011 Eric Hodel * ext/readline/readline.c: Add examples for Readline.completion_proc=. diff --git a/lib/net/http.rb b/lib/net/http.rb index f89858836f8c5a..7c9032aaa6ba9f 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -108,7 +108,7 @@ class HTTPHeaderSyntaxError < StandardError; end # If you wish to re-use a connection across multiple HTTP requests without # automatically closing it you can use ::new instead of ::start. #request # will automatically open a connection to the server if one is not currently - # open. You can manually close the connection with #close. + # open. You can manually close the connection with #finish. # # === Response Data #