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

Fallback to old download methods if server returns 403 #573

Merged
merged 1 commit into from
Jul 12, 2016

Conversation

brson
Copy link
Contributor

@brson brson commented Jul 12, 2016

Fixes #452

Can't be tested because no network tests.

r? @alexcrichton

@est31
Copy link
Member

est31 commented Jul 12, 2016

Nice to see a fix being proposed so fast :)

@alexcrichton alexcrichton merged commit e6b867b into rust-lang:master Jul 12, 2016
@jethrogb
Copy link
Contributor

Why don't you just test for all 400 codes?

@brson
Copy link
Contributor Author

brson commented Jul 13, 2016

@jethrogb That sounds good to me if you want to submit a patch.

@est31
Copy link
Member

est31 commented Jul 13, 2016

Can there be a new release?

@masklinn
Copy link

@brson since server changes have already failed rustup.sh several time, wouldn't it be possible and simpler to generate the relevant manifests for older releases (at least the "release" channels anyway) and avoid the fallback?

@brson
Copy link
Contributor Author

brson commented Jul 14, 2016

@est31 I'm working on getting a new release out.

@masklinn That approach is possible, yes. It hasn't seemed worth it since this is also simple and the code already exists.

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

Successfully merging this pull request may close these issues.

5 participants