summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-07 16:48:49 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-07 16:48:49 +0000
commit52e1c3b0ab41041f7f51a7afc3fce3aab97bc010 (patch)
treeb4e732fd7c4ba8a930aa5562da60d112bef714ce /lib
parentf9806460e92d11824478eb8125f450b811dc3786 (diff)
downloadruby-52e1c3b0ab41041f7f51a7afc3fce3aab97bc010.tar.gz
* lib/net/http.rb (Net::HTTP#initialize):
default value of Net::HTTP#open_timeout is now 60 (was nil). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52480 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 0ec93752ce..1021258128 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -641,7 +641,7 @@ module Net #:nodoc:
@close_on_empty_response = false
@socket = nil
@started = false
- @open_timeout = nil
+ @open_timeout = 60
@read_timeout = 60
@continue_timeout = nil
@debug_output = nil