Closed Bug 245860 Opened 21 years ago Closed 19 years ago

File corrupted on Pause/Resume download

Categories

(Core :: Networking: HTTP, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 237623

People

(Reporter: rganesan, Assigned: darin.moz)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514 While downloading the above tar.gz. Pause the download using the download manager and resume the download say after 10 minutes. On completion of the download the tar.gz file is corrupted. Reproducible: Always Steps to Reproduce: 1.Go to http://www.mirrors.wiretapped.net/security/network-security/gnutls/gnutls-1.0.13.tar.gz 2.Download that. 3.When donwload manager comes up bring up the properties and pause the download say after 20% completion. 4. Then resume the download after 10 minutes. Actual Results: The downloaded file is corrupted on completion. Expected Results: The file shouldn't be corrupted. I tried increasing the timeout preferences (both keep-alive and ftp) it doesn't help.This happens on any large download. I see this problem on Windows aswell.
(In reply to comment #0) > While downloading the above tar.gz. Pause the download using the download > manager and resume the download say after 10 minutes. does the window immediately close when you do this? do you get a message in the javascript console (tools|web development|javascript console)? note to self: 10 Content-Type: application/x-tar 11 Content-Encoding: x-gzip (streamconverter problem?)
Yeah the window closses soon after I resume..I don't see any error in the Javascrip console. I have seen some bugs have been reported similar to this on a dialup connection. But I am not using dialup here. Also, I have see this problem while downloading a PDF also.
well basically, I see two possibilities here... either the server decided the TCP connection has a timeout and closes the connection, so mozilla gets an error trying to resume; or there's a bug in mozilla's gzip streamconverter...
A packet sniffer log would let us eliminate (or confirm) the first possibility....
I am confirming this bug as I can also reproduce it on Windows XP SP2, Firefox 1.0 .
Status: UNCONFIRMED → NEW
Ever confirmed: true
*** This bug has been marked as a duplicate of 87151 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
p.s. reporter Ganesh address is dead
You need to log in before you can comment on or make changes to this bug.