Skip to content

Commit

Permalink
Auto merge of #7788 - alexcrichton:retry-another, r=ehuss
Browse files Browse the repository at this point in the history
Add another curl spurious network error

Witnessed in a [recent build][1] looks like this is another error that
should be safe to retry.

[1]: https://github.com/bytecodealliance/wasmtime/pull/788/checks?check_run_id=383658098#step:7:16
  • Loading branch information
bors committed Jan 10, 2020
2 parents 6e4a159 + 3f9c47b commit dd112dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cargo/util/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ fn maybe_spurious(err: &Error) -> bool {
|| curl_err.is_recv_error()
|| curl_err.is_http2_stream_error()
|| curl_err.is_ssl_connect_error()
|| curl_err.is_partial_file()
{
return true;
}
Expand Down

0 comments on commit dd112dc

Please sign in to comment.