cURL / Mailing Lists / curl-library / Single Mail

curl-library

bug in time calculations

From: T. Bharath <TBharath_at_responsenetworks.com>
Date: Wed, 01 Nov 2000 10:30:21 -0500

Consider a case where the server redirects us using a location field.In
this case the calls to
pgrsTime(data, DNS_LOOKUP);
pgrsTime(data, TIMER_CONNECT); /* we're connected */

will get called for every redirection and ultimately when we make a
call to
curl_easy_getinfo(curlparam->curlhandle, CURLINFO_NAMELOOKUP_TIME,
&dnstime)
curl_easy_getinfo(curlparam->curlhandle, CURLINFO_CONNECT_TIME,
&connecttime)
the value we get will not be the right one.

Regards
Bharath
_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/curl-library
Received on 2000-11-01