Skip to content

Commit 3f9c47b

Browse files
committed
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
1 parent c95f396 commit 3f9c47b

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)