cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Effect of aborting on slow transfers for slow responses

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 29 Apr 2013 23:23:04 +0200 (CEST)

On Mon, 29 Apr 2013, David Strauss wrote:

> Does the counter for CURLOPT_LOW_SPEED_TIME start as soon as the connection
> establishes, or does it wait until the response starts coming back? I'm
> curious about the case of a server that takes, say, 60 seconds to prepare
> the response but sends it back in one burst.

I don't remember exactly, but I believe the timer starts at
CURLINFO_PRETRANSFER_TIME, which is about when the request is being sent off.
Or possibly it was at CURLINFO_APPCONNECT_TIME.

It would be a good idea to document this once we figure it out! =)

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-04-29