diff options
author | Aleks <al-git001@none.at> | 2018-05-18 17:47:47 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-05-18 17:48:40 +0200 |
commit | e05ad5dd996123bff31218fed54995216416b712 (patch) | |
tree | 224187715afc3b300bb1837db75d5caa10b339c9 /src | |
parent | ccf85d4c2b1b2fac2f6cbac31d719bfa73b76ed2 (diff) |
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.h | 2 | ||||
-rw-r--r-- | src/tool_help.c | 2 |
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", |