mirror of
https://github.com/curl/curl.git
synced 2026-08-26 15:53:38 +03:00
NPN/ALPN: allow disabling via command line
when using --http2 one can now selectively disable NPN or ALPN with --no-alpn and --no-npn. for now honored with NSS only. TODO: honor this option with GnuTLS and OpenSSL
This commit is contained in:
parent
70bd9784de
commit
909a68c121
11 changed files with 87 additions and 19 deletions
|
|
@ -105,6 +105,8 @@ 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)",
|
||||
" --no-npn Disable the NPN TLS extension",
|
||||
" --no-alpn Disable the ALPN TLS extension",
|
||||
" --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