1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-11 20:15:03 -05:00
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:
Daniel Stenberg 2009-04-26 11:56:22 +00:00
parent 1272621ebc
commit 14df44dd3f
3 changed files with 13 additions and 3 deletions

View File

@ -6,10 +6,15 @@
Changelog Changelog
Daniel Stenberg (26 Apr 2009)
- 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!
Daniel Stenberg (24 Apr 2009) Daniel Stenberg (24 Apr 2009)
- Kamil Dudka fixed another NSS-related leak when client certs were used. - Kamil Dudka fixed another NSS-related leak when client certs were used.
- bug report #2779245 (http://curl.haxx.se/bug/view.cgi?id=2779245) by Rainer - Bug report #2779245 (http://curl.haxx.se/bug/view.cgi?id=2779245) by Rainer
Koenig pointed out that the man page didn't tell that the *_proxy Koenig pointed out that the man page didn't tell that the *_proxy
environment variables can be specified lower case or UPPER CASE and the environment variables can be specified lower case or UPPER CASE and the
lower case takes precedence, lower case takes precedence,

View File

@ -31,6 +31,7 @@ This release includes the following bugfixes:
o persistent connections when doing FTP over a HTTP proxy o persistent connections when doing FTP over a HTTP proxy
o --libcurl bogus strings where other data was pointed to o --libcurl bogus strings where other data was pointed to
o crash related to FTP and "Re-used connection seems dead, get a new one" o crash related to FTP and "Re-used connection seems dead, get a new one"
o CURLINFO_APPCONNECT_TIME with the multi interface
This release includes the following known bugs: This release includes the following known bugs:
@ -42,6 +43,6 @@ advice from friends like these:
Daniel Fandrich, Yang Tse, David James, Chris Deidun, Bill Egert, Daniel Fandrich, Yang Tse, David James, Chris Deidun, Bill Egert,
Andre Guibert de Bruet, Andreas Farber, Frank Hempel, Pierre Brico, Andre Guibert de Bruet, Andreas Farber, Frank Hempel, Pierre Brico,
Kamil Dudka, Jim Freeman, Daniel Johnson, Toshio Kuratomi, Martin Storsjo, Kamil Dudka, Jim Freeman, Daniel Johnson, Toshio Kuratomi, Martin Storsjo,
Pramod Sharma, Gisle Vanem, Leanic Lefever, Rainer Koenig Pramod Sharma, Gisle Vanem, Leanic Lefever, Rainer Koenig, Sven Wegener
Thanks! (and sorry if I forgot to mention someone) Thanks! (and sorry if I forgot to mention someone)

View File

@ -195,9 +195,13 @@ Curl_ssl_connect_nonblocking(struct connectdata *conn, int sockindex,
bool *done) bool *done)
{ {
#ifdef curlssl_connect_nonblocking #ifdef curlssl_connect_nonblocking
CURLcode res;
/* mark this is being ssl requested from here on. */ /* mark this is being ssl requested from here on. */
conn->ssl[sockindex].use = TRUE; 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 #else
*done = TRUE; /* fallback to BLOCKING */ *done = TRUE; /* fallback to BLOCKING */
conn->ssl[sockindex].use = TRUE; conn->ssl[sockindex].use = TRUE;