curl-library
Re: CURLOPT_LOW_SPEED_* option doesn't work as expected
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 7 Dec 2007 16:00:09 +0100 (CET)
Date: Fri, 7 Dec 2007 16:00:09 +0100 (CET)
On Fri, 7 Dec 2007, Spacen Jasset wrote:
> I had assumed that this worked either way, i.e. recieve or send. My log
> output below shows that curl times out after ten seconds, however that
> tansfer takes 72 seconds, and has transfered all of the data. The server
> also recieves all of the data and it is correct.
>
> Is it the case that the CURLOPT_LOW_SPEED_* options only take into account
> the amount of data recieved rather than posted?
It is *meant* to take the "transfer speed", which in fact should be the
fastest of the uploads and downloads going on. See Curl_pgrsUpdate() that
calculates the speeds and Curl_speedcheck() that does the checking...
I can't say I see anything obviously wrong in there!
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-12-07