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

iojs.org doesn't support resumable downloads #424

Closed
ljharb opened this issue Jan 14, 2015 · 3 comments
Closed

iojs.org doesn't support resumable downloads #424

ljharb opened this issue Jan 14, 2015 · 3 comments

Comments

@ljharb
Copy link
Member

ljharb commented Jan 14, 2015

Run this command twice:
curl --progress-bar -L -C - https://iojs.org/dist/v1.0.1/iojs-v1.0.1-darwin-x64.tar.gz -o /tmp/iojs.tar.gz

The first time, it works just fine. The second time, the -C - should tell curl to try to resume the download, and since it's at 100%, it shouldn't download anything. Instead, I get curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.

@rvagg
Copy link
Member

rvagg commented Jan 14, 2015

nginx config is here: https://github.com/iojs/build/blob/master/setup/www/resources/iojs.org
contributions welcome

@silverwind
Copy link
Contributor

gzip disables ranges support inside its server/location section (here's why). One possible solution would be to put the big files inside its own location section with gzip disabled. Will do a PR.

@silverwind
Copy link
Contributor

Filed nodejs/build#36

@rvagg rvagg closed this as completed Jan 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants