mirror of
https://github.com/curl/curl.git
synced 2026-07-24 10:17:21 +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
|
|
@ -1841,6 +1841,9 @@ typedef enum {
|
|||
/* User data to pass to the resolver start callback. */
|
||||
CINIT(RESOLVER_START_DATA, OBJECTPOINT, 273),
|
||||
|
||||
/* send HAProxy PROXY protocol header? */
|
||||
CINIT(HAPROXYPROTOCOL, LONG, 274),
|
||||
|
||||
CURLOPT_LASTENTRY /* the last unused */
|
||||
} CURLoption;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue