Skip to content

Commit

Permalink
Add another curl spurious network error
Browse files Browse the repository at this point in the history
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
alexcrichton committed Jan 10, 2020
1 parent c95f396 commit 3f9c47b
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 3f9c47b

Please sign in to comment.