check ssl_config when re-use proxy connection

This commit is contained in:
MrDwZ 2021-12-13 18:46:28 -08:00 committed by Daniel Stenberg
parent 9d0d16d435
commit 1cdfdcde3b

View File

@ -1298,7 +1298,7 @@ ConnectionExists(struct Curl_easy *data,
if(check->proxy_ssl[FIRSTSOCKET].state != ssl_connection_complete)
continue;
}
else {
if(!Curl_ssl_config_matches(&needle->ssl_config,
&check->ssl_config))
continue;
@ -1306,7 +1306,6 @@ ConnectionExists(struct Curl_easy *data,
continue;
}
}
}
#endif
if(!canmultiplex && CONN_INUSE(check))