diff options
author | Lawrence Matthews <lmatthew@yelp.com> | 2016-12-01 04:05:04 -0800 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-03-17 11:50:06 +0100 |
commit | 6baeb6df35d24740c55239f24b5fc4ce86f375a5 (patch) | |
tree | 6a8ec40408e6827f40b750985517e575c89545fc /lib/urldata.h | |
parent | 9572831b0470378c2f45f2891feb91dea19c16d7 (diff) | |
download | curl-6baeb6df35d24740c55239f24b5fc4ce86f375a5.tar.gz |
CURLOPT_HAPROXYPROTOCOL: support the HAProxy PROXY protocol
Add --haproxy-protocol for the command line tool
Closes #2162
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 0da5fbce0..dad31cd4e 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1678,6 +1678,8 @@ struct UserDefined { bool stream_depends_e; /* set or don't set the Exclusive bit */ int stream_weight; + bool haproxyprotocol; /* whether to send HAProxy PROXY protocol header */ + struct Curl_http2_dep *stream_dependents; bool abstract_unix_socket; |