ruby-changes:40399
From: naruse <ko1@a...>
Date: Sun, 8 Nov 2015 01:49:16 +0900 (JST)
Subject: [ruby-changes:40399] naruse:r52480 (trunk): * lib/net/http.rb (Net::HTTP#initialize):
naruse 2015-11-08 01:48:49 +0900 (Sun, 08 Nov 2015) New Revision: 52480 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52480 Log: * lib/net/http.rb (Net::HTTP#initialize): default value of Net::HTTP#open_timeout is now 60 (was nil). Modified files: trunk/ChangeLog trunk/NEWS trunk/lib/net/http.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 52479) +++ ChangeLog (revision 52480) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Nov 8 01:31:27 2015 NARUSE, Yui <naruse@r...> + + * lib/net/http.rb (Net::HTTP#initialize): + default value of Net::HTTP#open_timeout is now 60 (was nil). + Sat Nov 7 12:18:05 2015 Eric Wong <e@8...> * string.c (id_to_s): remove redundant variable Index: lib/net/http.rb =================================================================== --- lib/net/http.rb (revision 52479) +++ lib/net/http.rb (revision 52480) @@ -641,7 +641,7 @@ module Net #:nodoc: https://github.com/ruby/ruby/blob/trunk/lib/net/http.rb#L641 @close_on_empty_response = false @socket = nil @started = false - @open_timeout = nil + @open_timeout = 60 @read_timeout = 60 @continue_timeout = nil @debug_output = nil Index: NEWS =================================================================== --- NEWS (revision 52479) +++ NEWS (revision 52480) @@ -185,6 +185,9 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L185 * Coverage.peek_result: new method to allow coverage to be captured without stopping the coverage tool. +* Net::HTTP + * default value of Net::HTTP#open_timeout is now 60 (was nil). + * Net::Telnet * Net::Telnet is extracted to net-telnet gem. It's unmaintain code. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/