mirror of
https://github.com/curl/curl.git
synced 2026-08-25 22:13:33 +03:00
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.
This commit is contained in:
parent
e683182918
commit
324a97ecf8
7 changed files with 29 additions and 8 deletions
|
|
@ -150,6 +150,11 @@ version. (Added in 7.33.0)
|
|||
.IP "--http2"
|
||||
(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)
|
||||
.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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue