Closed
Bug 279995
Opened 20 years ago
Closed 20 years ago
download manager miscalculates KB downloaded and average speed of download due to a wrap around error
Categories
(Toolkit :: Downloads API, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 228968
People
(Reporter: wcdever, Assigned: bugs)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 When downloading files larger than ~2gigs. It appears that that the variable in the download manager that holds the size of the file downloaded; wraps around and all of a sudden you are on the negative side of a signed variable. This also messes up the calculation of the download speed since you are now dividing by a negative number. Reproducible: Always Steps to Reproduce: 1.Connect to an ftp with a file larger than 2gigs (DVD ISOs work well) 2.Start downloading the file and open the download manager. 3.Wait for wrap around error to occur. Actual Results: The numbers displayed for kilobytes downloaded and current download speed are now negative. Expected Results: It should continue to correctly display size downloaded and current download speeds.
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 228968 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•18 years ago
|
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•