mirror of
https://github.com/curl/curl.git
synced 2026-08-13 02:10:51 +03:00
vtls: only store TIMER_APPCONNECT for non-proxy connect
Introducing a 'isproxy' argument to the connect function so that it knows wether to store the time stamp or not. Reported-by: Yongkang Huang Fixes #7274 Closes #7274
This commit is contained in:
parent
bfa0309175
commit
a6da296867
9 changed files with 20 additions and 16 deletions
|
|
@ -61,7 +61,7 @@ static CURLcode https_proxy_connect(struct Curl_easy *data, int sockindex)
|
|||
if(!conn->bits.proxy_ssl_connected[sockindex]) {
|
||||
/* perform SSL initialization for this socket */
|
||||
result =
|
||||
Curl_ssl_connect_nonblocking(data, conn, sockindex,
|
||||
Curl_ssl_connect_nonblocking(data, conn, TRUE, sockindex,
|
||||
&conn->bits.proxy_ssl_connected[sockindex]);
|
||||
if(result)
|
||||
/* a failed connection is marked for closure to prevent (bad) re-use or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue