Skip to content

Commit f7724ae

Browse files
committed
Retry on SSL Connect Error.
1 parent ba37dac commit f7724ae

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
@@ -51,6 +51,7 @@ fn maybe_spurious(err: &Error) -> bool {
5151
|| curl_err.is_operation_timedout()
5252
|| curl_err.is_recv_error()
5353
|| curl_err.is_http2_stream_error()
54+
|| curl_err.is_ssl_connect_error()
5455
{
5556
return true;
5657
}

0 commit comments

Comments
 (0)