projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fc5cd6
)
Use Curl_ssl_connect for non-blocking connect fallback
author
Sven Wegener
<sven.wegener@stealer.net>
Fri, 27 May 2011 15:46:11 +0000
(17:46 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 19 Dec 2011 21:37:37 +0000
(22:37 +0100)
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>
lib/sslgen.c
patch
|
blob
|
history
diff --git
a/lib/sslgen.c
b/lib/sslgen.c
index
9ad4ab1
..
8749392
100644
(file)
--- 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 */
}