Skip to content

Commit 531c4bf

Browse files
committed
Auto merge of #7318 - reitermarkus:ssl-connect-error, r=alexcrichton
Retry on SSL Connect Error. I have been getting a bunch of spurious `[35] SSL connect error`s on Azure Pipelines, so these should be treated as spurious errors.
2 parents d228660 + f7724ae commit 531c4bf

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)