]> granicus.if.org Git - curl/commit
curl: limit -# update frequency for unknown total size
authorDaniel Stenberg <daniel@haxx.se>
Thu, 7 Dec 2017 08:29:58 +0000 (09:29 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 7 Dec 2017 16:33:46 +0000 (17:33 +0100)
commitb5881d1fbd544576ec876c4374c8f71240965cdc
treef5369e29c4296e9433e4529314e35b20ca92cc13
parent546e7db78c2c49e5991282d0ba3ff7d5fb1fda30
curl: limit -# update frequency for unknown total size

Make it use a max 10Hz update frequency for this case as well. Return
early if the "point" hasn't moved since last invoke.

Reported-by: Elliot Saba
Fixes #2158
Closes #2163
src/tool_cb_prg.c