curl-w32/docs/cmdline-opts/retry-connrefused.md

473 B

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 (use with --retry) 7.52.0 curl boolean
retry
retry-all-errors
--retry-connrefused --retry 7 $URL

--retry-connrefused

In addition to the other conditions, consider ECONNREFUSED as a transient error too for --retry. This option is used together with --retry.