summaryrefslogtreecommitdiff
path: root/lib/smb.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/smb.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/smb.c')
-rw-r--r--lib/smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smb.c b/lib/smb.c
index 39facb267..bfda3b1ca 100644
--- a/lib/smb.c
+++ b/lib/smb.c
@@ -670,7 +670,7 @@ static CURLcode smb_connection_state(struct Curl_easy *data, bool *done)
#ifdef USE_SSL
if((conn->handler->flags & PROTOPT_SSL)) {
bool ssl_done = FALSE;
- result = Curl_ssl_connect_nonblocking(data, conn,
+ result = Curl_ssl_connect_nonblocking(data, conn, FALSE,
FIRSTSOCKET, &ssl_done);
if(result && result != CURLE_AGAIN)
return result;