mirror of
https://github.com/curl/curl.git
synced 2026-08-24 22:43:38 +03:00
tool: Add option --retry-all-errors to retry on any error
The "sledgehammer" of retrying. Closes https://github.com/curl/curl/pull/5185
This commit is contained in:
parent
98e5904165
commit
b995bb58cb
8 changed files with 98 additions and 1 deletions
|
|
@ -223,6 +223,7 @@ struct OperationConfig {
|
|||
bool tcp_nodelay;
|
||||
bool tcp_fastopen;
|
||||
long req_retry; /* number of retries */
|
||||
bool retry_all_errors; /* retry on any error */
|
||||
bool retry_connrefused; /* set connection refused as a transient error */
|
||||
long retry_delay; /* delay between retries (in seconds) */
|
||||
long retry_maxtime; /* maximum time to keep retrying */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue