mirror of
https://github.com/curl/curl.git
synced 2026-07-29 06:43:07 +03:00
CURLOPT_HAPROXYPROTOCOL: support the HAProxy PROXY protocol
Add --haproxy-protocol for the command line tool Closes #2162
This commit is contained in:
parent
9572831b04
commit
6baeb6df35
16 changed files with 261 additions and 1 deletions
11
docs/cmdline-opts/haproxy-protocol.d
Normal file
11
docs/cmdline-opts/haproxy-protocol.d
Normal file
|
|
@ -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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue