cURL / Mailing Lists / curl-library / Single Mail



From: Daniel Stenberg <>
Date: Sat, 4 Oct 2008 20:15:12 +0200 (CEST)

On Sat, 4 Oct 2008, Christopher Masone wrote:

> I noticed that curl would report that (after the initial connection of a
> handle to the server), namelookup, connect, and pretransfer time are all 0.

0? That seems weird. The time returned is a double, and it show something >0
for all of those timers.

> The docs describing the difference between pretransfer and starttransfer say
> that the latter "This includes CURLINFO_PRETRANSFER_TIME and also the time
> the server needs to calculate the result."
> What does that mean? The server to calculate which result? The first byte
> of data has yet to be

Pretransfer is when it wants to start sending, while starttransfer is when the
first byte was actually sent (thus when the server was ready to receive

Received on 2008-10-04