mirror of
https://github.com/curl/curl.git
synced 2026-08-26 17:53:33 +03:00
tool: fix exponential retry delay
Also, show retry delay with decimals since it might be not be integer
seconds.
Regression from da27db068f (shipped in 8.16.0)
Reported-by: Andrew Olsen
Fixes #18591
Assisted-by: Jay Satiro
Closes #18595
This commit is contained in:
parent
4e74b9f592
commit
ca034e839c
3 changed files with 16 additions and 9 deletions
|
|
@ -209,7 +209,8 @@ struct OperationConfig {
|
|||
long httpversion;
|
||||
unsigned long socks5_auth;/* auth bitmask for socks5 proxies */
|
||||
long req_retry; /* number of retries */
|
||||
long retry_delay_ms; /* delay between retries (in milliseconds) */
|
||||
long retry_delay_ms; /* delay between retries (in milliseconds),
|
||||
0 means increase exponentially */
|
||||
long retry_maxtime_ms; /* maximum time to keep retrying */
|
||||
|
||||
unsigned long mime_options; /* Mime option flags. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue