aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/progress.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/progress.c b/lib/progress.c
index af756a026..093c93083 100644
--- a/lib/progress.c
+++ b/lib/progress.c
@@ -327,5 +327,8 @@ int Curl_pgrsUpdate(struct connectdata *conn)
max5data(data->progress.current_speed, max5[5]) /* current speed */
);
+ /* we flush the output stream to make it appear as soon as possible */
+ fflush(data->err);
+
return 0;
}