aboutsummaryrefslogtreecommitdiff
path: root/src/tool_cfgable.h
diff options
context:
space:
mode:
authorDaniel Hwang <gnawhleinad@github.com>2016-10-09 16:00:25 -0700
committerDaniel Stenberg <daniel@haxx.se>2016-11-11 10:00:54 +0100
commitcdfda3ee827da069f1871722278fd82e7cbb4194 (patch)
treeb7990d962afd012e3ed1955dc364642a7f93c7f1 /src/tool_cfgable.h
parentea80a2dcfcdc280ff412489dc3928600ec76296c (diff)
curl: Add --retry-connrefused
to consider ECONNREFUSED as a transient error. Closes #1064
Diffstat (limited to 'src/tool_cfgable.h')
-rw-r--r--src/tool_cfgable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h
index aa98fced5..9f4dbba8c 100644
--- a/src/tool_cfgable.h
+++ b/src/tool_cfgable.h
@@ -176,6 +176,7 @@ struct OperationConfig {
bool tcp_nodelay;
bool tcp_fastopen;
long req_retry; /* number of retries */
+ bool retry_connrefused; /* set connection refused as a transient error */
long retry_delay; /* delay between retries (in seconds) */
long retry_maxtime; /* maximum time to keep retrying */