mirror of
https://github.com/moparisthebest/curl
synced 2024-12-25 01:28:51 -05:00
6baeb6df35
Add --haproxy-protocol for the command line tool Closes #2162
12 lines
377 B
D
12 lines
377 B
D
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.
|