diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-22 04:58:10 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-22 04:58:10 +0000 |
commit | a58c76cc204b4e0824b5701f1b4ef3b7cf2f86e4 (patch) | |
tree | e2092d18c55ae37763dcfd536fc20a881ca0559f | |
parent | c1fa17c13897f4c1343da1cc3ef7c67f34e98634 (diff) | |
download | ruby-a58c76cc204b4e0824b5701f1b4ef3b7cf2f86e4.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/net/http.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Jul 22 13:55:59 2011 Eric Hodel <drbrain@segment7.net> + + * 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 <drbrain@segment7.net> * 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 # |