diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-21 01:24:12 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-21 01:24:12 +0000 |
commit | c314e44ffaeab9c90c2f62d4bb14a7a8b8559c16 (patch) | |
tree | 4ce442726b0421f9260928684fd23bcdbb4bae62 | |
parent | 01c77036bbec818a5c9ec195f83a2dc27a732e06 (diff) | |
download | ruby-c314e44ffaeab9c90c2f62d4bb14a7a8b8559c16.tar.gz |
lib/net/http.rb (open_timeout): update default value in RDoc [ci skip]
[ruby-core:72413]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/net/http.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon Dec 21 10:21:22 2015 Ilya Vassilevsky <vassilevsky@gmail.com> + + * lib/net/http.rb (open_timeout): update default value in RDoc + [ruby-core:72413] + Mon Dec 21 10:18:46 2015 Kazuki Yamaguchi <k@rhe.jp> * vm_backtrace.c (rb_profile_frames): ignore ifunc frames as it diff --git a/lib/net/http.rb b/lib/net/http.rb index eb08edf0f7..8149215a1c 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -702,7 +702,7 @@ module Net #:nodoc: # Number of seconds to wait for the connection to open. Any number # may be used, including Floats for fractional seconds. If the HTTP # object cannot open a connection in this many seconds, it raises a - # Net::OpenTimeout exception. The default value is +nil+. + # Net::OpenTimeout exception. The default value is 60 seconds. attr_accessor :open_timeout # Number of seconds to wait for one block to be read (via one read(2) |