aboutsummaryrefslogtreecommitdiff
path: root/src/tool_help.c
diff options
context:
space:
mode:
authorDiego Bes <dbesprosvan@ahoffeld-pc.tango.corp>2016-03-18 15:25:56 -0700
committerDaniel Stenberg <daniel@haxx.se>2016-03-31 22:23:11 +0200
commit324a97ecf82e5e415c3c9fb4df093053c1efedf1 (patch)
treeff166eca2ab220199c1cb8d46575d6a37f0e61ac /src/tool_help.c
parente683182918bafbe40d4525e51f6d360bfba14bfa (diff)
http2: support "prior knowledge", no upgrade from HTTP/1.1
Supports HTTP/2 over clear TCP - Optimize switching to HTTP/2 by removing calls to init and setup before switching. Switching will eventually call setup and setup calls init. - Supports new version to “force” the use of HTTP/2 over clean TCP - Add common line parameter “--http2-prior-knowledge” to the Curl command line tool.
Diffstat (limited to 'src/tool_help.c')
-rw-r--r--src/tool_help.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_help.c b/src/tool_help.c
index a1a6fb493..42159f4d9 100644
--- a/src/tool_help.c
+++ b/src/tool_help.c
@@ -111,6 +111,7 @@ static const char *const helptext[] = {
" -0, --http1.0 Use HTTP 1.0 (H)",
" --http1.1 Use HTTP 1.1 (H)",
" --http2 Use HTTP 2 (H)",
+ " --http2-prior-knowledge Use HTTP 2 without HTTP/1.1 Upgrade (H)",
" --ignore-content-length Ignore the HTTP Content-Length header",
" -i, --include Include protocol headers in the output (H/F)",
" -k, --insecure Allow connections to SSL sites without certs (H)",