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

ruby-changes:20566

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

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

  New Revision: 32614

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

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

  Modified files:
    trunk/ChangeLog
    trunk/lib/net/http.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 32613)
+++ ChangeLog	(revision 32614)
@@ -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: lib/net/http.rb
===================================================================
--- lib/net/http.rb	(revision 32613)
+++ lib/net/http.rb	(revision 32614)
@@ -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/

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