diff options
author | MrDwZ <hyk68691@hotmail.com> | 2021-12-13 18:46:28 -0800 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-12-14 14:46:10 +0100 |
commit | 1cdfdcde3bcdb541f337206ba6a5969af93f1093 (patch) | |
tree | 0ed59f2ece73ce5ce743d5eecc407aaa16b94433 | |
parent | 9d0d16d43542e341ec85acae82dca35855327cb0 (diff) | |
download | curl-1cdfdcde3bcdb541f337206ba6a5969af93f1093.tar.gz |
check ssl_config when re-use proxy connection
-rw-r--r-- | lib/url.c | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -1298,13 +1298,12 @@ 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; - if(check->ssl[FIRSTSOCKET].state != ssl_connection_complete) - continue; - } + + if(!Curl_ssl_config_matches(&needle->ssl_config, + &check->ssl_config)) + continue; + if(check->ssl[FIRSTSOCKET].state != ssl_connection_complete) + continue; } } #endif |