aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-02-20 13:38:34 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-02-20 13:38:34 +0000
commita333bddeeb6ce46f0a7d218d78fa700c881f2833 (patch)
treee1b04dd76080fa8ee7ad2e812ecae486ad675013 /lib/transfer.c
parent4c6a52fe90e0c17d9d72ba21fea07dcfa6cda238 (diff)
Andrés García solved bug report #515228 by making sure the progress meter
is updated even if everything is read in one single pass, as the windows functions apparantly does more often than other systems.
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 6180832aa..c90744d0f 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -380,6 +380,8 @@ CURLcode Curl_readwrite(struct connectdata *conn,
/* we make sure that this socket isn't read more now */
k->keepon &= ~KEEP_READ;
FD_ZERO(&k->rkeepfd);
+ /* for a progress meter/info update before going away */
+ Curl_pgrsUpdate(conn);
return CURLE_OK;
}