xref: /aosp_15_r20/external/curl/docs/cmdline-opts/retry-connrefused.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1---
2c: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3SPDX-License-Identifier: curl
4Long: retry-connrefused
5Help: Retry on connection refused (with --retry)
6Added: 7.52.0
7Category: curl
8Multi: boolean
9See-also:
10  - retry
11  - retry-all-errors
12Example:
13  - --retry-connrefused --retry 7 $URL
14---
15
16# `--retry-connrefused`
17
18In addition to the other conditions, consider ECONNREFUSED as a transient
19error too for --retry. This option is used together with --retry.
20