cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH 2/2] multi: Update progress data for sockets in CURLM_STATE_TOOFAST.

From: none <njm_at_lith.(none)>
Date: Sun, 30 Jan 2011 10:10:53 -0800

---
 lib/multi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/multi.c b/lib/multi.c
index ecd72bb..6e1ae84 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -1408,6 +1408,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
 
     case CURLM_STATE_TOOFAST: /* limit-rate exceeded in either direction */
       /* if both rates are within spec, resume transfer */
+      Curl_pgrsUpdate(easy->easy_conn);      
       if( ( (data->set.max_send_speed == 0) ||
             (data->progress.ulspeed < data->set.max_send_speed ))  &&
           ( (data->set.max_recv_speed == 0) ||
-- 
1.7.1
--------------030800090909050706050103
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
--------------030800090909050706050103--
Received on 2001-09-17