Skip to content

Commit 3c18b38

Browse files
swegenerbagder
authored andcommitted
Use Curl_ssl_connect for non-blocking connect fallback
This gets the appconnect time right for ssl backends, which don't support non-blocking connects. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
1 parent 1fc5cd6 commit 3c18b38

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/sslgen.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,7 @@ Curl_ssl_connect_nonblocking(struct connectdata *conn, int sockindex,
221221
return res;
222222
#else
223223
*done = TRUE; /* fallback to BLOCKING */
224-
conn->ssl[sockindex].use = TRUE;
225-
return curlssl_connect(conn, sockindex);
224+
return Curl_ssl_connect(conn, sockindex);
226225
#endif /* non-blocking connect support */
227226
}
228227

0 commit comments

Comments
 (0)