bootstrap doesn't retry downloads that fail with a non-HTTP error #110178
Closed
Description
We're passing --retry:
rust/src/bootstrap/download.rs
Line 220 in b80ee39
but by default that only retries 500 errors, not any error: https://everything.curl.dev/usingcurl/downloads/retry#retry-on-any-and-all-errors
Originally posted by @jyn514 in #109875 (comment)
Metadata
Assignees
Labels
Area: Spurious failures in builds (spuriously == for no apparent reason)Category: This is a bug.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Performance or correctness regression from one stable version to another.