summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-22 04:58:10 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-22 04:58:10 +0000
commita58c76cc204b4e0824b5701f1b4ef3b7cf2f86e4 (patch)
treee2092d18c55ae37763dcfd536fc20a881ca0559f /lib
parentc1fa17c13897f4c1343da1cc3ef7c67f34e98634 (diff)
* 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
Diffstat (limited to 'lib')
-rw-r--r--lib/net/http.rb2
1 files changed, 1 insertions, 1 deletions
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
#