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

Automatically retry HTTP requests returning 5xx #4032

Merged
merged 1 commit into from
May 11, 2017

Commits on May 11, 2017

  1. Automatically retry HTTP requests returning 5xx

    This commit implements auto-retry for downloading crates from crates.io whenever
    a 5xx response is returned. This should help assist with automatic retries
    whenever Cargo attempts to download directly from S3 but S3 returns a 500 error,
    which is defined as "please retry again".
    
    This logic may be a little eager to retry *all* 500 errors, but there's a
    maximum cap on all retries regardless, so hopefully it doesn't result in too
    many problems.
    
    Closes rust-lang#3962
    alexcrichton committed May 11, 2017
    Configuration menu
    Copy the full SHA
    6155653 View commit details
    Browse the repository at this point in the history