From 8aebd7e9eb541926f7677d11047525d1b00d173f Mon Sep 17 00:00:00 2001 From: kazu Date: Wed, 27 Sep 2017 12:32:57 +0000 Subject: [PATCH] Fix exception class [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/net/http.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)