mirror of
https://github.com/curl/curl.git
synced 2026-07-24 17:57:18 +03:00
- Bug report #2779733 (http://curl.haxx.se/bug/view.cgi?id=2779733) by Sven
Wegener pointed out that CURLINFO_APPCONNECT_TIME didn't work with the multi interface and provided a patch that fixed the problem!
This commit is contained in:
parent
1272621ebc
commit
14df44dd3f
3 changed files with 13 additions and 3 deletions
|
|
@ -195,9 +195,13 @@ Curl_ssl_connect_nonblocking(struct connectdata *conn, int sockindex,
|
|||
bool *done)
|
||||
{
|
||||
#ifdef curlssl_connect_nonblocking
|
||||
CURLcode res;
|
||||
/* mark this is being ssl requested from here on. */
|
||||
conn->ssl[sockindex].use = TRUE;
|
||||
return curlssl_connect_nonblocking(conn, sockindex, done);
|
||||
res = curlssl_connect_nonblocking(conn, sockindex, done);
|
||||
if(!res && *done == TRUE)
|
||||
Curl_pgrsTime(conn->data, TIMER_APPCONNECT); /* SSL is connected */
|
||||
return res;
|
||||
#else
|
||||
*done = TRUE; /* fallback to BLOCKING */
|
||||
conn->ssl[sockindex].use = TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue