From a58c76cc204b4e0824b5701f1b4ef3b7cf2f86e4 Mon Sep 17 00:00:00 2001 From: drbrain Date: Fri, 22 Jul 2011 04:58:10 +0000 Subject: [PATCH] * lib/net/http.rb: Net::HTTP#finish is used to manually close connections. [Ruby 1.9 - Bug #5045] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/net/http.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ba0c0530b9..b8959a1fe2 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 f89858836f..7c9032aaa6 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -108,7 +108,7 @@ module Net #:nodoc: # 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 #