зеркало из https://github.com/github/ruby.git
Fixed test fails against OpenSSL 1.1.1.
* https://rubyci.org/logs/rubyci.s3.amazonaws.com/ubuntu/ruby-trunk/log/20181203T093003Z.fail.html.gz * https://rubyci.org/logs/rubyci.s3.amazonaws.com/arch/ruby-trunk/log/20181203T090002Z.fail.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
33eebfd301
Коммит
edbac1b986
|
@ -274,7 +274,7 @@ class Gem::RemoteFetcher
|
||||||
raise
|
raise
|
||||||
rescue Timeout::Error
|
rescue Timeout::Error
|
||||||
raise UnknownHostError.new('timed out', uri.to_s)
|
raise UnknownHostError.new('timed out', uri.to_s)
|
||||||
rescue IOError, SocketError, SystemCallError => e
|
rescue IOError, SocketError, SystemCallError, OpenSSL::SSL::SSLError => e
|
||||||
if e.message =~ /getaddrinfo/
|
if e.message =~ /getaddrinfo/
|
||||||
raise UnknownHostError.new('no such name', uri.to_s)
|
raise UnknownHostError.new('no such name', uri.to_s)
|
||||||
else
|
else
|
||||||
|
|
Загрузка…
Ссылка в новой задаче