fetchurl: improve error handling flags to curl to retry harder (#358042)

This commit is contained in:
Philip Taron 2025-01-27 05:23:23 -08:00 committed by GitHub
commit e43d648ac1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,6 +11,8 @@ curl=(
--location --location
--max-redirs 20 --max-redirs 20
--retry 3 --retry 3
--retry-all-errors
--continue-at -
--disable-epsv --disable-epsv
--cookie-jar cookies --cookie-jar cookies
--user-agent "curl/$curlVersion Nixpkgs/$nixpkgsVersion" --user-agent "curl/$curlVersion Nixpkgs/$nixpkgsVersion"