summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleks <al-git001@none.at>2018-05-18 17:47:47 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-18 17:48:40 +0200
commite05ad5dd996123bff31218fed54995216416b712 (patch)
tree224187715afc3b300bb1837db75d5caa10b339c9 /src
parentccf85d4c2b1b2fac2f6cbac31d719bfa73b76ed2 (diff)
downloadcurl-e05ad5dd996123bff31218fed54995216416b712.tar.gz
docs: mention HAproxy protocol "version 1"
...as there's also a version 2. Closes #2579
Diffstat (limited to 'src')
-rw-r--r--src/tool_cfgable.h2
-rw-r--r--src/tool_help.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h
index 9abaa9d39..b4973c7fc 100644
--- a/src/tool_cfgable.h
+++ b/src/tool_cfgable.h
@@ -252,7 +252,7 @@ struct OperationConfig {
bool ssh_compression; /* enable/disable SSH compression */
long happy_eyeballs_timeout_ms; /* happy eyeballs timeout in milliseconds.
0 is valid. default: CURL_HET_DEFAULT. */
- bool haproxy_protocol; /* whether to send HAProxy PROXY protocol */
+ bool haproxy_protocol; /* whether to send HAProxy PROXY protocol v1 */
struct GlobalConfig *global;
struct OperationConfig *prev;
struct OperationConfig *next; /* Always last in the struct */
diff --git a/src/tool_help.c b/src/tool_help.c
index 6f5ad08d4..71862511f 100644
--- a/src/tool_help.c
+++ b/src/tool_help.c
@@ -165,7 +165,7 @@ static const struct helptxt helptext[] = {
{"-I, --head",
"Show document info only"},
{" --haproxy-protocol",
- "Send HAProxy PROXY protocol header"},
+ "Send HAProxy PROXY protocol v1 header"},
{"-H, --header <header/@file>",
"Pass custom header(s) to server"},
{"-h, --help",