summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2011-05-27 17:46:11 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-12-19 22:37:37 +0100
commit3c18b38dcc59cbb4f62b48cc4d7004f6bccffc37 (patch)
tree5b4aa507e4ff1b38679b83b9c6558c9b97f3f3b1 /lib
parent1fc5cd6a1a1b4df5e2a567614560be03e95cb08a (diff)
downloadcurl-3c18b38dcc59cbb4f62b48cc4d7004f6bccffc37.tar.gz
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/sslgen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sslgen.c b/lib/sslgen.c
index 9ad4ab1d2..874939223 100644
--- a/lib/sslgen.c
+++ b/lib/sslgen.c
@@ -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 */
}