Skip to content

Commit

Permalink
Use Curl_ssl_connect for non-blocking connect fallback
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
swegener authored and bagder committed Dec 19, 2011
1 parent 1fc5cd6 commit 3c18b38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/sslgen.c
Expand Up @@ -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 */
}

Expand Down

0 comments on commit 3c18b38

Please sign in to comment.