projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a99672
)
multi: call the progress callback in all states
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 17 Jun 2010 13:08:55 +0000
(15:08 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 17 Jun 2010 13:10:08 +0000
(15:10 +0200)
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.
lib/multi.c
patch
|
blob
|
history
diff --git
a/lib/multi.c
b/lib/multi.c
index
9abf339
..
f210dcf
100644
(file)
--- 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) {