From 6baeb6df35d24740c55239f24b5fc4ce86f375a5 Mon Sep 17 00:00:00 2001 From: Lawrence Matthews Date: Thu, 1 Dec 2016 04:05:04 -0800 Subject: CURLOPT_HAPROXYPROTOCOL: support the HAProxy PROXY protocol Add --haproxy-protocol for the command line tool Closes #2162 --- docs/cmdline-opts/haproxy-protocol.d | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docs/cmdline-opts/haproxy-protocol.d (limited to 'docs/cmdline-opts') diff --git a/docs/cmdline-opts/haproxy-protocol.d b/docs/cmdline-opts/haproxy-protocol.d new file mode 100644 index 000000000..52e156058 --- /dev/null +++ b/docs/cmdline-opts/haproxy-protocol.d @@ -0,0 +1,11 @@ +Long: haproxy-protocol +Help: Send HAProxy PROXY protocol header +Protocols: HTTP +Added: 7.60.0 +--- +Send a HAProxy PROXY protocol header at the beginning of the connection. This +is used by some load balancers and reverse proxies to indicate the client's +true IP address and port. + +This option is primarily useful when sending test requests to a service that +expects this header. -- cgit v1.2.3