summaryrefslogtreecommitdiff
path: root/lib/http_proxy.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-06-18 10:18:39 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-06-19 23:02:16 +0200
commita6da29686729eb50e92c14c9e74857526ebc3da5 (patch)
tree609380066aac7f25386d48418a925edd43fad777 /lib/http_proxy.c
parentbfa03091752408c6b2db6657587aba04ff9b2874 (diff)
downloadcurl-a6da29686729eb50e92c14c9e74857526ebc3da5.tar.gz
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
Diffstat (limited to 'lib/http_proxy.c')
-rw-r--r--lib/http_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_proxy.c b/lib/http_proxy.c
index e0a498706..22124ccfc 100644
--- a/lib/http_proxy.c
+++ b/lib/http_proxy.c
@@ -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