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

Fix retrying crate downloads for network errors #3348

Merged
merged 1 commit into from
Dec 2, 2016

Commits on Dec 1, 2016

  1. Fix retrying crate downloads for network errors

    Previously the `with_retry` loop was a little too tight where stale state about
    the sha256 and data was kept out of the loop. Instead we need to reinitialize
    these on each iteration of the loop to ensure that we correctly retry by
    forgetting the data we previously downloaded for an aborted download attempt.
    alexcrichton committed Dec 1, 2016
    Configuration menu
    Copy the full SHA
    df30da0 View commit details
    Browse the repository at this point in the history