]> git.ipfire.org Git - thirdparty/curl.git/commit
done: make sure the final progress update is made
authorDaniel Stenberg <daniel@haxx.se>
Tue, 24 Nov 2015 18:51:59 +0000 (19:51 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 24 Nov 2015 19:49:04 +0000 (20:49 +0100)
commit40c349ada92865faadd0de92fa5dc0d50ba67eb3
treefdc054926760761ca2bf35a812916f0a451d5f17
parentbb9ec5ebb29a88d5b55eece1ea90198a514a736f
done: make sure the final progress update is made

It would previously be skipped if an existing error was returned, but
would lead to a previous value being left there and later used.
CURLINFO_TOTAL_TIME for example.

Still it avoids that final progress update if we reached DONE as the
result of a callback abort to avoid another callback to be called after
an abort-by-callback.

Reported-by: Lukas Ruzicka
Closes #538
lib/url.c