Skip to content

Commit

Permalink
Retry on SSL Connect Error.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Sep 2, 2019
1 parent ba37dac commit f7724ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cargo/util/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ fn maybe_spurious(err: &Error) -> bool {
|| curl_err.is_operation_timedout()
|| curl_err.is_recv_error()
|| curl_err.is_http2_stream_error()
|| curl_err.is_ssl_connect_error()
{
return true;
}
Expand Down

0 comments on commit f7724ae

Please sign in to comment.