cURL / Mailing Lists / curl-library / Single Mail

curl-library

cURL Timings

From: Rose, Phil <Phil.Rose_at_anitetelecoms.com>
Date: Wed, 5 Feb 2003 18:21:46 -0000

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

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...

     CURLINFO_TOTAL_TIME
             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
             add the CURLINFO_CONNECT_TIME.

So can I assume the actual file transfer time is CURLINFO_TOTAL_TIME -
CURLINFO_STARTTRANSFER_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?

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Received on 2003-02-05