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!

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to