From cdfda3ee827da069f1871722278fd82e7cbb4194 Mon Sep 17 00:00:00 2001 From: Daniel Hwang Date: Sun, 9 Oct 2016 16:00:25 -0700 Subject: curl: Add --retry-connrefused to consider ECONNREFUSED as a transient error. Closes #1064 --- src/tool_help.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tool_help.c') diff --git a/src/tool_help.c b/src/tool_help.c index 9890cc83b..f4d648c01 100644 --- a/src/tool_help.c +++ b/src/tool_help.c @@ -198,6 +198,8 @@ static const char *const helptext[] = { " --resolve HOST:PORT:ADDRESS Force resolve of HOST:PORT to ADDRESS", " --retry NUM " "Retry request NUM times if transient problems occur", + " --retry-connrefused " + "Consider \"connection refused\" a transient error", " --retry-delay SECONDS Wait SECONDS between retries", " --retry-max-time SECONDS Retry only within this period", " --sasl-ir Enable initial response in SASL authentication", -- cgit v1.2.3