Closed Bug 286187 Opened 19 years ago Closed 19 years ago

Large downloads report negative file size and speed after a certain point.

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 184452

People

(Reporter: ashort, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1

It appears that the download file size in bytes is stored as a signed int
(guess?).  What I can tell you is that once the file size reached 2GB from the
above url, the size of the file (size of the transferred portion of it, that is)
went to a negative value that counted UP from -2GB.  Speed went negative too,
but how far off it was, I can't say.  This could have easily been a dependence
of this number on the first.

Reproducible: Didn't try

Steps to Reproduce:
1. Navigate to the above URL, or try an ftp transfer of any file larger than 2GB.
2. Observe.
3.

*** This bug has been marked as a duplicate of 184452 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.