cURL / Mailing Lists / curl-library / Single Mail


Re: CURLOPT_MAX_RECV_SPEED_LARGE and multi_socket_action (with patch)

From: Daniel Stenberg <>
Date: Tue, 1 Feb 2011 10:07:27 +0100 (CET)

On Sun, 30 Jan 2011, Nicholas Maniscalco wrote:

> It appears that multi_runsingle may be leaving sockets in
> CURLM_STATE_TOOFAST for too long because it is working off of outdated
> progress data. Attached is a patch that calls Curl_pgrsUpdate just inside
> the TOOFAST case (multi_toofast_update_progress.patch). With this patch, I
> observe a nice smooth rate-limited transfer (see hiperfifo_output_good.txt).
> Is there a better approach to fixing this?

Thanks a lot. I think this is a good and cheap fix!

List admin:
Received on 2011-02-01