mirror of
https://github.com/curl/curl.git
synced 2026-05-30 13:47:28 +03:00
check ssl_config when re-use proxy connection
This commit is contained in:
parent
9d0d16d435
commit
1cdfdcde3b
1 changed files with 6 additions and 7 deletions
13
lib/url.c
13
lib/url.c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue