We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f84f3f8 commit 64d47cdCopy full SHA for 64d47cd
src/cargo/util/network.rs
@@ -36,7 +36,7 @@ impl<'a> Retry<'a> {
36
fn maybe_spurious(err: &Error) -> bool {
37
if let Some(git_err) = err.downcast_ref::<git2::Error>() {
38
match git_err.class() {
39
- git2::ErrorClass::Net | git2::ErrorClass::Os => return true,
+ git2::ErrorClass::Net | git2::ErrorClass::Os | git2::ErrorClass::Zlib => return true,
40
_ => (),
41
}
42
0 commit comments