Vladimir Kudelin wrote:
Therefore, I had to apply the following fix:
if Tick = FPrevTick then
FCurSpeed := 0
else
FCurSpeed := 8 * (FTotalCount - FPrevCount) / (Tick -
FPrevTick);
Hello Vladimir,
Many thanks for this, I just checked in your fix in both SVN repos,
v7
Hi,
In my application I occasionally get the EDivByZero exception
in OverbyteIcsMultipartHttpDownloader.pas (line 706):
FCurSpeed:= 8 * (FTotalCount - FPrevCount) / (Tick - FPrevTick);
Because of I'm using TMultipartHttpDownloader in threads, it's pretty
difficult to catch the exception,