no-alpn.md (639B)
1 --- 2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3 SPDX-License-Identifier: curl 4 Long: no-alpn 5 Tags: HTTP/2 6 Protocols: HTTPS 7 Added: 7.36.0 8 Requires: TLS 9 Help: Disable the ALPN TLS extension 10 Category: tls http 11 Multi: boolean 12 See-also: 13 - no-npn 14 - http2 15 Example: 16 - --no-alpn $URL 17 --- 18 19 # `--no-alpn` 20 21 Disable the ALPN TLS extension. ALPN is enabled by default if libcurl was built 22 with an SSL library that supports ALPN. ALPN is used by a libcurl that supports 23 HTTP/2 to negotiate HTTP/2 support with the server during https sessions. 24 25 Note that this is the negated option name documented. You can use --alpn to 26 enable ALPN.