cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Questions about timeout during transfer

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 26 May 2011 19:33:02 +0200 (CEST)

On Thu, 26 May 2011, Saqib Ali wrote:

> I set my low-speed limit to 1 byte/sec. And I set the low-speed time to 1
> second.

Those are rather extreme values that might not get the effect you want.

> Even though I set the low-speed-time to 60 seconds, It waits 68 seconds
> before timing out.

It probably took 8 seconds first to reach the low level, as it will use a
moving average.

> And why does it take 62 seconds to disconnect?

That sounds like a bug.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-05-26