cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-515228 ] -I option disables time_total variable

From: <noreply_at_sourceforge.net>
Date: Sat, 09 Feb 2002 07:24:46 -0800

Bugs item #515228, was opened at 2002-02-09 07:24
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=515228&group_id=976

Category: http
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: -I option disables time_total variable

Initial Comment:
Hi,

I found that the output of the time_total variable is
wrong (0.00) when used on a windows machine in
combination with the -I option. Example command:

curl -w "time_connect = %{time_connect}\ntime_total = %
{time_total}\n" -I curl.haxx.se

HTTP/1.1 200 OK
Date: Sat, 09 Feb 2002 15:16:34 GMT
Server: Apache/1.3.17 (Unix) PHP/4.0.4pl1
Content-Type: text/html; charset=iso-8859-1

time_connect = 0.372
time_total = 0.000

On a Linux machine for example the time_total variable
is not set to zero when using the same command.

Curl: curl 7.9.4 (win32) libcurl 7.9.4
OS: Windows 2000 SP 2 but I also saw this behaviour on
NT 4.0 SP 6a and with earlier curl versions

  regards

     Michiel

----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=515228&group_id=976
Received on 2002-02-09