multi_runsingle: CURLOPT_LOW_SPEED_* fix for rate limitation
authorDaniel Stenberg <daniel@haxx.se>
Mon, 1 Oct 2012 22:16:20 +0000 (00:16 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 1 Oct 2012 22:16:20 +0000 (00:16 +0200)
commit971f5bcedd41889dc9652aa0c583477c0b1d49c9
treee4b76e5e18b731c2b61af3770c202f9afff1a3df
parent42bbc5ce108e273a9890d2007ff55dd73c8d646c
multi_runsingle: CURLOPT_LOW_SPEED_* fix for rate limitation

During the periods of rate limitation, the speedcheck function wasn't
called and thus the values weren't updated accordingly and it would then
easily trigger wrongly once data got transferred again.

Also, the progress callback's return code was not acknowledged in this
state so it could make an "abort" return code to get ignored and not
have the documented effect of aborting an ongoing transfer.

Bug: http://curl.haxx.se/mail/lib-2012-09/0081.html
Reported by: Jie He
lib/multi.c