diff options
Diffstat (limited to 'lib')
-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) |