Closed
Bug 1189862
Opened 9 years ago
Closed 4 years ago
Cannot download cut off file due to a broken page/resource
Categories
(Toolkit :: Downloads API, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: baran.nick, Unassigned)
References
()
Details
(Keywords: regression)
Attachments
(3 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
Steps to reproduce:
I tried to download file but it failed anytime. Sorry, I cannot give link on file because it is on localhost. I attached test.php instead link.
P.S. I added expected results in comments into test.php (content downloaded via Chrome).
P.P.S.
FF = 39.0. up to date
OS = Windows 7 Professional, Service Pack 1, 64-bit
Actual results:
The file appears on disk with zero size and disappears in a moment. Progress of downloading shows label - failed.
Expected results:
File should appear on disk with not zero size. To see expected file content goto comments in attached test.php
Comment 1•9 years ago
|
||
Have you tried with other browsers? what happens on other browsers or othre version fo firefox ?
QA Whiteboard: [bugday-20150727]
Component: Untriaged → Downloads Panel
Flags: needinfo?(baran.nick)
Please, could you attach a working testcase as .html, but not .php.
Component: Downloads Panel → Download Manager
Product: Firefox → Toolkit
Reporter | ||
Comment 3•9 years ago
|
||
(In reply to Loic from comment #2)
> Please, could you attach a working testcase as .html, but not .php.
Cannot reproduce it on *.html. Maybe it php-related problem.
Flags: needinfo?(baran.nick)
Reporter | ||
Comment 4•9 years ago
|
||
Reporter | ||
Comment 5•9 years ago
|
||
(In reply to Towkir Ahmed [:Towkir] from comment #1)
> Have you tried with other browsers? what happens on other browsers or othre
> version fo firefox ?
Sorry, but Firefox is automatically updated. And i haven't permissions to reinstall it.
Chrome 43.0.2357.130 m
IE 9.0.14 - all is ok
Safary - 5.1.7
For all of them downloading of file is successful.
This attached file doesn't really help. If you're not able to build a public testcase, it will be hard for us to test for knowing if there is a bug or not.
Reporter | ||
Comment 7•9 years ago
|
||
Could you give link on good example of public testcase, please?
A simple public .html webpage on your server or a testcase built at http://jsbin.com/ or http://jsfiddle.net/
Reporter | ||
Comment 9•9 years ago
|
||
I tried to use http://jsbin.com/ and http://jsfiddle.net/ but they cannot illustrate my problem.
I don't know how better to describe my case.
For example: we have url http://registry.ftstest.com/test222.php
If we open it via Chrome(46.0.2490.80 m) or IE(9.0.14) or Safari(5.1.7) or Opera(20.0.1387.64) then all they are downloading text file 'AuditLog.txt' on hard drive.
But if try to open it via Firefox then we get empty file 'AuditLog.txt' on hard drive.
P.S. Firefox version 41.0.2 throws alert:
"C:\Users\user\AppData\Local\Temp\4d5fPhl0.txt.part could not be saved, because the source file could not be read.
Try again later, or contact the server administrator."
P.P.S http://registry.ftstest.com/test222.php and test.php from attachment is the same file.
Comment 10•9 years ago
|
||
Thanks, this link works as testcase.
Regression range:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=07c04d7a483a&tochange=df3daecd381f
My guess is it's a regression from:
Daniel Stenberg — Bug 237623 - introduce "soft" checks for HTTP framing errors, r=mcmanus
Blocks: 237623
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(daniel)
Keywords: regression
OS: Unspecified → All
Hardware: Unspecified → All
Comment 11•9 years ago
|
||
Comment 12•9 years ago
|
||
The test222 URL sends a resource that is 19513 bytes long, with a Content-Length: header saying the data is 26020 bytes long.
This is a broken page/resource. Running curl on the URL also clearly spells it out:
curl: (18) transfer closed with 6507 bytes remaining to read
We could of course adapt the code to actually leave the partial file there after the error has been pointed out to the user, we shouldn't have to delete it.
Flags: needinfo?(daniel)
Updated•9 years ago
|
Summary: Cannot download base64-decoded file → Cannot download cut off file
Updated•5 years ago
|
Summary: Cannot download cut off file → Cannot download cut off file due to a broken page/resource
Comment 14•4 years ago
|
||
yeah, thanks.
Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(mak)
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•