Skip to content

Commit dd112dc

Browse files
committed
Auto merge of #7788 - alexcrichton:retry-another, r=ehuss
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
2 parents 6e4a159 + 3f9c47b commit dd112dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cargo/util/network.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ fn maybe_spurious(err: &Error) -> bool {
5252
|| curl_err.is_recv_error()
5353
|| curl_err.is_http2_stream_error()
5454
|| curl_err.is_ssl_connect_error()
55+
|| curl_err.is_partial_file()
5556
{
5657
return true;
5758
}

0 commit comments

Comments
 (0)