diff options
author | Desmond O. Chang <dochang@gmail.com> | 2016-04-28 17:33:25 +0800 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2017-03-12 01:32:33 -0500 |
commit | d2bcf1e3e247d116dc96bd3ea32056e3f089449c (patch) | |
tree | da6eb7bec914ef3a31883aa0ddb30ce33c5dde5e /src/tool_help.c | |
parent | ec1d0ed1c14d1b2ed06d8914c19b3df2da575005 (diff) | |
download | curl-d2bcf1e3e247d116dc96bd3ea32056e3f089449c.tar.gz |
url: add option CURLOPT_SUPPRESS_CONNECT_HEADERS
- Add new option CURLOPT_SUPPRESS_CONNECT_HEADERS to allow suppressing
proxy CONNECT response headers from the user callback functions
CURLOPT_HEADERFUNCTION and CURLOPT_WRITEFUNCTION.
- Add new tool option --suppress-connect-headers to expose
CURLOPT_SUPPRESS_CONNECT_HEADERS and allow suppressing proxy CONNECT
response headers from --dump-header and --include.
Assisted-by: Jay Satiro
Assisted-by: CarloCannas@users.noreply.github.com
Closes https://github.com/curl/curl/pull/783
Diffstat (limited to 'src/tool_help.c')
-rw-r--r-- | src/tool_help.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_help.c b/src/tool_help.c index f6fe3527b..86d35899a 100644 --- a/src/tool_help.c +++ b/src/tool_help.c @@ -249,6 +249,7 @@ static const char *const helptext[] = { " --ssl-allow-beast Allow security flaw to improve interop (SSL)", " --ssl-no-revoke Disable cert revocation checks (WinSSL)", " --stderr FILE Where to redirect stderr (use \"-\" for stdout)", + " --suppress-connect-headers Suppress proxy CONNECT response headers", " --tcp-nodelay Use the TCP_NODELAY option", " --tcp-fastopen Use TCP Fast Open", " -t, --telnet-option OPT=VAL Set telnet option", |