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 --- include/curl/curl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/curl/curl.h') 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; -- cgit v1.2.1