diff options
author | David RodrÃguez <[email protected]> | 2023-06-30 21:22:32 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-12-13 12:16:55 +0900 |
commit | a7c9163b5d87c0420e54cd75668bceb8f39a578a (patch) | |
tree | e96aedac02e9249b7b130dc43be49343d2b75cdf /lib/rubygems/request.rb | |
parent | 90317472e87692fff1c864d129d60130dc3bab2c (diff) |
[rubygems/rubygems] Vendor timeout in RubyGems too
https://github.com/rubygems/rubygems/commit/e2e7440ede
Diffstat (limited to 'lib/rubygems/request.rb')
-rw-r--r-- | lib/rubygems/request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/request.rb b/lib/rubygems/request.rb index b44d9d6611..dec0c35c63 100644 --- a/lib/rubygems/request.rb +++ b/lib/rubygems/request.rb @@ -244,7 +244,7 @@ class Gem::Request # HACK: work around EOFError bug in Gem::Net::HTTP # NOTE Errno::ECONNABORTED raised a lot on Windows, and make impossible # to install gems. - rescue EOFError, Timeout::Error, + rescue EOFError, Gem::Timeout::Error, Errno::ECONNABORTED, Errno::ECONNRESET, Errno::EPIPE requests = @requests[connection.object_id] |