check ssl_config when re-use proxy connection
This commit is contained in:
parent
9d0d16d435
commit
1cdfdcde3b
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…
Reference in New Issue
Block a user