diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-27 12:32:57 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-27 12:32:57 +0000 |
commit | 8aebd7e9eb541926f7677d11047525d1b00d173f (patch) | |
tree | 41aefcfa5ccb15fd9e68a34a8d5752772d07e47d /lib/net/http.rb | |
parent | dbb6e0a47c875a6e9ce91e5fdbe094b2284108ab (diff) |
Fix exception class [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/http.rb')
-rw-r--r-- | lib/net/http.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index eb7d335cb5..9bb284a081 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -739,7 +739,8 @@ module Net #:nodoc: # Maximum number of times to retry an idempotent request in case of # Net::ReadTimeout, IOError, EOFError, Errno::ECONNRESET, - # Errno::ECONNABORTED, Errno::EPIPE, OpenSSL::SSL, Timeout::Error + # Errno::ECONNABORTED, Errno::EPIPE, OpenSSL::SSL::SSLError, + # Timeout::Error. # Should be non-negative integer number. Zero means no retries. # The default value is 1. def max_retries=(retries) |