cURL / Mailing Lists / curl-library / Single Mail


Re: cURL Timings

From: Daniel Stenberg <>
Date: Fri, 7 Feb 2003 14:21:18 +0100 (CET)

On Wed, 5 Feb 2003, Rose, Phil wrote:

> I'm new to the world of these mailing list so apologies for lack of
> etiquette

I'm sure you'll do OK.

> I've looked at the cURL library code and think CURLINFO_TOTAL_TIME does
> include connect time but would be grateful if someone would confirm this.
> However this seems to contradict the most recent man page...
> Pass a pointer to a double to receive the total
> transaction time in seconds for the previous trans-
> fer. This time does not include the connect time, so
> if you want the complete operation time, you should

TOTAL_TIME does _not_ include the connect time. The man page info is correct.

> So can I assume the actual file transfer time is CURLINFO_TOTAL_TIME -

No, CURLINFO_TOTAL_TIME is the actual transfer time.

> However we are using an older version of the library 7.9.3 which I think
> which does not do redirect timing?? which begs the following question....
> I don't think any of the connect time, pre transfer time etc include the
> redirect but the overall CURLINFO_TOTAL_TIME does? Therefore how do you the
> actual transfer time with this version of the code?

I don't remember and I have no energy to go digging around in versions that
are more than one year old by now.

 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
Received on 2003-02-07