kolla/docker/base/curlrc
Michal Nasiadka fd14318a8b curl: Add retries
Change default 0 retries to 5, that should help for transient
errors (timeouts, HTTP 408, 429, 500, 502, 503 or 504).

Change-Id: Iad3c7270579ffb38299269481ac64d5582abaa22
2022-08-22 15:36:22 +00:00

8 lines
182 B
Plaintext

# curl default options
--fail
--location
--retry 5
--silent
--show-error
--write-out "curl (%{url_effective}): response: %{http_code}, time: %{time_total}, size: %{size_download}\n"