mirror of
https://github.com/curl/curl.git
synced 2026-05-30 06:37:30 +03:00
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>
This commit is contained in:
parent
1fc5cd6a1a
commit
3c18b38dcc
1 changed files with 1 additions and 2 deletions
|
|
@ -221,8 +221,7 @@ Curl_ssl_connect_nonblocking(struct connectdata *conn, int sockindex,
|
|||
return res;
|
||||
#else
|
||||
*done = TRUE; /* fallback to BLOCKING */
|
||||
conn->ssl[sockindex].use = TRUE;
|
||||
return curlssl_connect(conn, sockindex);
|
||||
return Curl_ssl_connect(conn, sockindex);
|
||||
#endif /* non-blocking connect support */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue