mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:33:31 +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
|
|
@ -52,7 +52,6 @@ struct OperationConfig *config_alloc(void)
|
|||
config->ftp_skip_ip = TRUE;
|
||||
config->file_clobber_mode = CLOBBER_DEFAULT;
|
||||
config->upload_flags = CURLULFLAG_SEEN;
|
||||
config->retry_delay_ms = RETRY_SLEEP_DEFAULT;
|
||||
curlx_dyn_init(&config->postdata, MAX_FILE2MEMORY);
|
||||
return config;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue