cURL / Mailing Lists / curl-users / Single Mail


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

From: Toni Moreno <>
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

curl -s -w
"" -o /dev/null

I get this result:


Thats is:
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 7.23.1 (i686-pc-linux-gnu) libcurl/7.23.1 OpenSSL/0.9.8g zlib/
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


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


List admin:
Received on 2011-12-15