summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLawrence Matthews <lmatthew@yelp.com>2016-12-01 04:05:04 -0800
committerDaniel Stenberg <daniel@haxx.se>2018-03-17 11:50:06 +0100
commit6baeb6df35d24740c55239f24b5fc4ce86f375a5 (patch)
tree6a8ec40408e6827f40b750985517e575c89545fc /include
parent9572831b0470378c2f45f2891feb91dea19c16d7 (diff)
downloadgnurl-6baeb6df35d24740c55239f24b5fc4ce86f375a5.tar.gz
gnurl-6baeb6df35d24740c55239f24b5fc4ce86f375a5.tar.bz2
gnurl-6baeb6df35d24740c55239f24b5fc4ce86f375a5.zip
CURLOPT_HAPROXYPROTOCOL: support the HAProxy PROXY protocol
Add --haproxy-protocol for the command line tool Closes #2162
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index fa019eca9..43d5e031f 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -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;