From e05ad5dd996123bff31218fed54995216416b712 Mon Sep 17 00:00:00 2001 From: Aleks Date: Fri, 18 May 2018 17:47:47 +0200 Subject: docs: mention HAproxy protocol "version 1" ...as there's also a version 2. Closes #2579 --- src/tool_cfgable.h | 2 +- src/tool_help.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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
", "Pass custom header(s) to server"}, {"-h, --help", -- cgit v1.2.1