Download Manager says it downloaded a file with the (large) anticipated size, when in fact it got a 0-byte file

NEW
Unassigned

Status

()

6 years ago
6 years ago

People

(Reporter: dholbert, Unassigned)

Tracking

Trunk
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
STR:
 1. Download this file (e.g. by clicking this link and picking a save location):
     http://nightly.webkit.org/files/WebKit-SVN-source.tar.bz2

   ---> At the moment, the download will fail, and will just
        produce a 0-byte saved file on your filesystem. BUT:

 2. Inspect the download notification that Firefox pops up.

EXPECTED RESULTS: Firefox reports that the download fails, and/or reports that the saved file was 0 bytes.

ACTUAL RESULTS: Firefox tells me that it (instantly) downloaded a file of size "1.8 GB"


(NOTE: I haven't been able to download the Webkit tarball with any browser / download manager for the last couple days, so I suspect their server is temporarily misconfigured or something. Whenever they fix it, this bug probably won't be reproducible at that URL anymore.)
(Reporter)

Comment 1

6 years ago
Created attachment 653414 [details]
screencast
(Reporter)

Comment 2

6 years ago
Created attachment 653417 [details]
curl output

Here's the stderr log from attempting to download the file with "curl -vvv", in case it helps.
(Reporter)

Comment 3

6 years ago
Note that curl ends by reporting...
>  curl: (18) transfer closed with 1916464829 bytes remaining to read
...which correctly tells me:  "Uh oh, I expected 1.8 GB more data than I received"

(contrast that to Firefox's download manager UI, which implies that it received all 1.8 GB of data)
(Reporter)

Updated

6 years ago
Summary: With certain download failures, download manager reports huge file size instead of (correct) 0 bytes → Download Manager says it downloaded a file with the (large) anticipated size, when in fact it got a 0-byte file
Version: unspecified → Trunk
(Reporter)

Comment 4

6 years ago
Version info: I'm running up-to-date Nightly on Ubuntu 12.10 "quantal" prerelease.
about:support:      Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0
about:buildconfig:  Built from http://hg.mozilla.org/mozilla-central/rev/c676b554c7bb
You need to log in before you can comment on or make changes to this bug.