aboutsummaryrefslogtreecommitdiff
path: root/docs/curl.1
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-03-31 22:04:09 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-03-31 22:23:15 +0200
commit213d3c7b0c05a1071b93448a56d0661147ce6d50 (patch)
tree9a8fb80971758e30eb73c3ff184feebe40600a9d /docs/curl.1
parent324a97ecf82e5e415c3c9fb4df093053c1efedf1 (diff)
http2: more documentation for prior knowledge
Diffstat (limited to 'docs/curl.1')
-rw-r--r--docs/curl.111
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/curl.1 b/docs/curl.1
index 4a61b6554..f0c941199 100644
--- a/docs/curl.1
+++ b/docs/curl.1
@@ -151,10 +151,13 @@ version. (Added in 7.33.0)
(HTTP) Tells curl to issue its requests using HTTP 2. This requires that the
underlying libcurl was built to support it. (Added in 7.33.0)
.IP "--http2-prior-knowledge"
-(HTTP) Tells curl to issue its requests using HTTP 2 without HTTP/1.1 Upgrade.
-This requires prior knowledge that the server supports HTTP 2.
-This requires that the underlying libcurl was built to support it.
-(Added in 7.49.0)
+(HTTP) Tells curl to issue its non-TLS HTTP requests using HTTP/2 without
+HTTP/1.1 Upgrade. It requires prior knowledge that the server supports HTTP/2
+straight away. HTTPS requests will still do HTTP/2 the standard way with
+negotiated protocol version in the TLS handshake.
+
+HTTP/2 support in general also requires that the underlying libcurl was built
+to support it. (Added in 7.49.0)
.IP "--no-npn"
Disable the NPN TLS extension. NPN is enabled by default if libcurl was built
with an SSL library that supports NPN. NPN is used by a libcurl that supports