Skip to content

Commit

Permalink
* lib/net/http.rb: Net::HTTP#finish is used to manually close
Browse files Browse the repository at this point in the history
	  connections.  [Ruby 1.9 - Bug ruby#5045]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
drbrain committed Jul 22, 2011
1 parent c1fa17c commit a58c76c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Fri Jul 22 13:55:59 2011 Eric Hodel <[email protected]>

* 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 <[email protected]>

* ext/readline/readline.c: Add examples for Readline.completion_proc=.
Expand Down
2 changes: 1 addition & 1 deletion lib/net/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down

0 comments on commit a58c76c

Please sign in to comment.