xref: /aosp_15_r20/external/curl/docs/cmdline-opts/no-alpn.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: no-alpn
5*6236dae4SAndroid Build Coastguard WorkerTags: HTTP/2
6*6236dae4SAndroid Build Coastguard WorkerProtocols: HTTPS
7*6236dae4SAndroid Build Coastguard WorkerAdded: 7.36.0
8*6236dae4SAndroid Build Coastguard WorkerRequires: TLS
9*6236dae4SAndroid Build Coastguard WorkerHelp: Disable the ALPN TLS extension
10*6236dae4SAndroid Build Coastguard WorkerCategory: tls http
11*6236dae4SAndroid Build Coastguard WorkerMulti: boolean
12*6236dae4SAndroid Build Coastguard WorkerSee-also:
13*6236dae4SAndroid Build Coastguard Worker  - no-npn
14*6236dae4SAndroid Build Coastguard Worker  - http2
15*6236dae4SAndroid Build Coastguard WorkerExample:
16*6236dae4SAndroid Build Coastguard Worker  - --no-alpn $URL
17*6236dae4SAndroid Build Coastguard Worker---
18*6236dae4SAndroid Build Coastguard Worker
19*6236dae4SAndroid Build Coastguard Worker# `--no-alpn`
20*6236dae4SAndroid Build Coastguard Worker
21*6236dae4SAndroid Build Coastguard WorkerDisable the ALPN TLS extension. ALPN is enabled by default if libcurl was built
22*6236dae4SAndroid Build Coastguard Workerwith an SSL library that supports ALPN. ALPN is used by a libcurl that supports
23*6236dae4SAndroid Build Coastguard WorkerHTTP/2 to negotiate HTTP/2 support with the server during https sessions.
24*6236dae4SAndroid Build Coastguard Worker
25*6236dae4SAndroid Build Coastguard WorkerNote that this is the negated option name documented. You can use --alpn to
26*6236dae4SAndroid Build Coastguard Workerenable ALPN.
27