[前][次][番号順一覧][スレッド一覧]

ruby-changes:20567

From: drbrain <ko1@a...>
Date: Fri, 22 Jul 2011 14:06:37 +0900 (JST)
Subject: [ruby-changes:20567] drbrain:r32615 (ruby_1_9_3): * lib/net/http.rb: Net::HTTP#finish is used to manually close

drbrain	2011-07-22 13:58:42 +0900 (Fri, 22 Jul 2011)

  New Revision: 32615

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32615

  Log:
    * lib/net/http.rb:  Net::HTTP#finish is used to manually close
      connections.  [Ruby 1.9 - Bug #5045]

  Modified files:
    branches/ruby_1_9_3/ChangeLog
    branches/ruby_1_9_3/lib/net/http.rb

Index: ruby_1_9_3/ChangeLog
===================================================================
--- ruby_1_9_3/ChangeLog	(revision 32614)
+++ ruby_1_9_3/ChangeLog	(revision 32615)
@@ -1,3 +1,8 @@
+Fri Jul 22 13:55:59 2011  Eric Hodel  <drbrain@s...>
+
+	* 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@s...>
 
 	* ext/readline/readline.c:  Add examples for Readline.completion_proc=.
Index: ruby_1_9_3/lib/net/http.rb
===================================================================
--- ruby_1_9_3/lib/net/http.rb	(revision 32614)
+++ ruby_1_9_3/lib/net/http.rb	(revision 32615)
@@ -108,7 +108,7 @@
   # 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
   #

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]