Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information