curl-library
Re: Curl timer resolution
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sat, 10 Apr 2004 00:08:15 +0200 (CEST)
Date: Sat, 10 Apr 2004 00:08:15 +0200 (CEST)
On Thu, 8 Apr 2004, Dirk Manske wrote:
> IMHO the curl time informations CURLINFO_*_TIME should use the full time
> resolution that is supported by gettimeofday (which is usec on Un*x).
> Attached patch avoid rounding to msecs.
Thanks, I've applied and committed!
> Yet another opinion: CURLINFO_NAMELOOKUP_TIME and CURLINFO_CONNECT_TIME
> should be zero if no lookup or connect was needed for the transfer. Or a
> new CURLINFO_* is needed to transport that information.
I think we'd need a new info variable for that, as otherwise we'd change a
long since established behavior.
> Daniel: Will you accept an according patch?
Yes.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-04-10