mirror of
https://github.com/curl/curl.git
synced 2026-08-24 23:03:42 +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
|
|
@ -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)",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue