1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05: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:
Sven Wegener 2011-05-27 17:46:11 +02:00 committed by Daniel Stenberg
parent 1fc5cd6a1a
commit 3c18b38dcc

View File

@ -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 */
}