Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupted file download #473

Closed
tarioch opened this issue Nov 2, 2015 · 2 comments
Closed

Corrupted file download #473

tarioch opened this issue Nov 2, 2015 · 2 comments
Labels

Comments

@tarioch
Copy link

tarioch commented Nov 2, 2015

This was reported by a user and I'm able to reproduce the same behavior.:

aria2c http://files.easy2boot.com/200001415-a420da51ca/Easy2Boot_v1.73.7z

results in a different file on each download and is also different than

wget -c http://files.easy2boot.com/200001415-a420da51ca/Easy2Boot_v1.73.7z -O Easy2Boot_v1.73.7z_wget.7z

I also tried

aria2c --max-concurrent-downloads=1 --force-sequential=true http://files.easy2boot.com/200001415-a420da51ca/Easy2Boot_v1.73.7z

and it still had the same issue

@tatsuhiro-t
Copy link
Collaborator

Thank you for reporting this. It looks like the server sends both Content-Length and Transfer-Encoding: chunked, which is prohibited by RFC 7230. In anyway, aria2 should ignore Content-Length in this case. There could be a bug somewhere handling this situation.

@tatsuhiro-t
Copy link
Collaborator

Fix committed via 5ccd5b6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants