Skip to content

Commit 15d8044

Browse files
committed
Auto merge of #8102 - alexcrichton:more-spurious, r=Eh2406
Whitelist another known spurious curl error Seen recently in comments on #6788
2 parents 9def590 + f54ac5a commit 15d8044

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
@@ -47,6 +47,7 @@ fn maybe_spurious(err: &Error) -> bool {
4747
|| curl_err.is_couldnt_resolve_host()
4848
|| curl_err.is_operation_timedout()
4949
|| curl_err.is_recv_error()
50+
|| curl_err.is_http2_error()
5051
|| curl_err.is_http2_stream_error()
5152
|| curl_err.is_ssl_connect_error()
5253
|| curl_err.is_partial_file()

0 commit comments

Comments
 (0)