summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Medeiros <me@andremedeiros.info>2015-10-28 17:46:56 +0100
committerAndre Medeiros <me@andremedeiros.info>2015-10-28 17:46:56 +0100
commit4f51db056eb296c90fd1177bb38bbc0b8a714562 (patch)
tree8f8317cd660ffbf9bd227a3aa2d2d1a1cefde6fb
parent9e6f9d88b91d9d0644ee610d7cea09aebc43751f (diff)
downloadbundler-4f51db056eb296c90fd1177bb38bbc0b8a714562.tar.gz
Retry Fetch operation on Zlib error.
This fixes #4074
-rw-r--r--lib/bundler/fetcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/fetcher.rb b/lib/bundler/fetcher.rb
index 868f415198..7811c9d476 100644
--- a/lib/bundler/fetcher.rb
+++ b/lib/bundler/fetcher.rb
@@ -245,7 +245,7 @@ module Bundler
Timeout::Error, EOFError, SocketError, Errno::ENETDOWN, Errno::ENETUNREACH,
Errno::EINVAL, Errno::ECONNRESET, Errno::ETIMEDOUT, Errno::EAGAIN,
Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError, Net::ProtocolError,
- Net::HTTP::Persistent::Error
+ Net::HTTP::Persistent::Error, Zlib::BufError
]
def bundler_cert_store