mirror of
https://github.com/curl/curl.git
synced 2026-08-05 05:36:18 +03:00
curl: Add --retry-connrefused
to consider ECONNREFUSED as a transient error. Closes #1064
This commit is contained in:
parent
ea80a2dcfc
commit
cdfda3ee82
5 changed files with 24 additions and 1 deletions
|
|
@ -1620,6 +1620,10 @@ also \fI--retry-max-time\fP to limit the total time allowed for
|
|||
retries. (Added in 7.12.3)
|
||||
|
||||
If this option is used several times, the last one will be used.
|
||||
.IP "--retry-connrefused"
|
||||
In addition to the other conditions, consider ECONNREFUSED as a transient
|
||||
error too for \fI--retry\fP. This option is used together with
|
||||
\fI--retry\fP. (Added in 7.52.0)
|
||||
.IP "--retry-delay <seconds>"
|
||||
Make curl sleep this amount of time before each retry when a transfer has
|
||||
failed with a transient error (it changes the default backoff time algorithm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue