diff options
author | Daniel Hwang <gnawhleinad@github.com> | 2016-10-09 16:00:25 -0700 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-11-11 10:00:54 +0100 |
commit | cdfda3ee827da069f1871722278fd82e7cbb4194 (patch) | |
tree | b7990d962afd012e3ed1955dc364642a7f93c7f1 /src/tool_cfgable.h | |
parent | ea80a2dcfcdc280ff412489dc3928600ec76296c (diff) | |
download | curl-cdfda3ee827da069f1871722278fd82e7cbb4194.tar.gz |
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.h | 1 |
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 */ |