diff options
author | David RodrÃguez <[email protected]> | 2025-06-17 20:38:45 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-06-23 11:07:01 +0900 |
commit | 7fe1fc392e549fa180a5a60b9135ca16f7976f0d () | |
tree | 497ad60308b93bdbc086d5aea8d50383951e7604 | |
parent | c3bfce512baf6d0427216ea2ae24b7f191dfebee (diff) |
[rubygems/rubygems] Make `HTTP_ERRORS` list look like `FAIL_ERRORS` list
https://.com/rubygems/rubygems/commit/bfa6770e39
-rw-r--r-- | lib/bundler/fetcher.rb | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -73,10 +73,21 @@ module Bundler end HTTP_ERRORS = [ - Gem::Timeout::Error, EOFError, SocketError, Errno::ENETDOWN, Errno::ENETUNREACH, - Errno::EINVAL, Errno::ECONNRESET, Errno::ETIMEDOUT, Errno::EAGAIN, - Gem::Net::HTTPBadResponse, Gem::Net::HTTPHeaderSyntaxError, Gem::Net::ProtocolError, - Gem::Net::HTTP::Persistent::Error, Zlib::BufError, Errno::EHOSTUNREACH ].freeze # Exceptions classes that should bypass retry attempts. If your password didn't work the |