aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-06-17 15:08:55 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-06-17 15:10:08 +0200
commit51a757c11bce9ccf9069af606bc2d8b7df584eb3 (patch)
treec2d6c41583504daf3c901b17beb57de4357352c2
parent7a996720420146505895329d3d2333259b2275ba (diff)
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.
-rw-r--r--lib/multi.c2
1 files changed, 2 insertions, 0 deletions
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) {