From: Daniel Stenberg Date: Thu, 17 Jun 2010 13:08:55 +0000 (+0200) Subject: multi: call the progress callback in all states X-Git-Tag: curl-7_21_1~129 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51a757c11bce9ccf9069af606bc2d8b7df584eb3;p=curl multi: call the progress callback in all states As long as no error is reported, the progress function can get called. This may be a little TOO often so we should keep an eye on this and possibly make this conditional somehow. --- diff --git a/lib/multi.c b/lib/multi.c index 9abf339b1..f210dcf04 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1528,6 +1528,8 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, multistate(easy, CURLM_STATE_COMPLETED); } + else + Curl_pgrsUpdate(easy->easy_conn); } } while(0); if((CURLM_STATE_COMPLETED == easy->state) && !easy->msg) {