| c |
SPDX-License-Identifier |
Long |
Help |
Added |
Category |
Multi |
See-also |
Example |
| Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. |
curl |
retry-connrefused |
Retry on connection refused (with --retry) |
7.52.0 |
curl |
boolean |
|
| --retry-connrefused --retry 7 $URL |
|
--retry-connrefused
In addition to the other conditions, also consider ECONNREFUSED as a transient
error for --retry. This option is used together with --retry. Normally, a
confused connection is not considered a transient error and therefore thus not
otherwise trigger a retry.