curl: Add --retry-connrefused

to consider ECONNREFUSED as a transient error.

Closes #1064
This commit is contained in:
Daniel Hwang 2016-10-09 16:00:25 -07:00 committed by Daniel Stenberg
parent ea80a2dcfc
commit cdfda3ee82
5 changed files with 24 additions and 1 deletions

View file

@ -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",