[前][次][番号順一覧][スレッド一覧]

ruby-changes:53943

From: hsbt <ko1@a...>
Date: Mon, 3 Dec 2018 21:01:30 +0900 (JST)
Subject: [ruby-changes:53943] hsbt:r66163 (trunk): Fixed test fails against OpenSSL 1.1.1.

hsbt	2018-12-03 21:01:26 +0900 (Mon, 03 Dec 2018)

  New Revision: 66163

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66163

  Log:
    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

  Modified files:
    trunk/lib/rubygems/remote_fetcher.rb
Index: lib/rubygems/remote_fetcher.rb
===================================================================
--- lib/rubygems/remote_fetcher.rb	(revision 66162)
+++ lib/rubygems/remote_fetcher.rb	(revision 66163)
@@ -274,7 +274,7 @@ class Gem::RemoteFetcher https://github.com/ruby/ruby/blob/trunk/lib/rubygems/remote_fetcher.rb#L274
     raise
   rescue Timeout::Error
     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/
       raise UnknownHostError.new('no such name', uri.to_s)
     else

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]