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