mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:23:30 +03:00
parent
35c7aac3c6
commit
c7bc689fc3
2 changed files with 4 additions and 3 deletions
|
|
@ -58,8 +58,9 @@ static CURLcode https_proxy_connect(struct connectdata *conn, int sockindex)
|
|||
Curl_ssl_connect_nonblocking(conn, sockindex,
|
||||
&conn->bits.proxy_ssl_connected[sockindex]);
|
||||
if(result)
|
||||
conn->bits.close = TRUE; /* a failed connection is marked for closure to
|
||||
prevent (bad) re-use or similar */
|
||||
/* a failed connection is marked for closure to prevent (bad) re-use or
|
||||
similar */
|
||||
connclose(conn, "TLS handshake failed");
|
||||
}
|
||||
return result;
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue