cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Archives

A posible bug on "time_pretransfer" in curl 7.23.1 ??

From: Toni Moreno <toni.moreno_at_gmail.com>
Date: Thu, 15 Dec 2011 13:22:14 +0100

Hi to all ,and sorry for my poor english.

I'm making test for measure web time responses for some websites. with this
command.

curl -s -w
'SITE-1;%{time_namelookup};%{time_connect};%{time_appconnect};%{time_pretransfer};%{time_starttransfer};%{time_total};'
"https://site1.example.com" -o /dev/null

I get this result:

SITE-1;0,003;0,092;0,395;0,000;0,505;0,597;

Thats is:
======
time_namelookup:0,003
time_connect: 0,092
time_appconnect: 0,395
*time_pretransfer: 0,000 <=== ERROR ?*
time_starttransfer: 0,505
time_total: 0,597

The man page tell me about previos time inclusion for time_pretransfer ,
from START until file transfer, so time_pretranfer should be greater than
time_appconnect and less than time_startransfer , isn't it?

 I have understood the corrent mean for the "time_pretrasnfer" time, this
version of curl seems to have an error. I'sn it ?

========================================================================================================================================

* time_pretransfer
                             The time, in seconds, it took from the start
until the file transfer was just about to begin. This includes all
pre-transfer commands and negotiations that are specific to the particular
protocol(s) involved.

========================================================================================================================================

CURL:
====

curl 7.23.1 (i686-pc-linux-gnu) libcurl/7.23.1 OpenSSL/0.9.8g zlib/1.2.3.3
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp
smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz

SO
===

Linux telemaco 2.6.24-29-generic #1 SMP Tue Oct 11 15:26:26 UTC 2011 i686
GNU/Linux

*

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-12-15

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET