xref: /aosp_15_r20/external/curl/docs/cmdline-opts/no-npn.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-npn
5*6236dae4SAndroid Build Coastguard WorkerTags: Versions HTTP/2
6*6236dae4SAndroid Build Coastguard WorkerProtocols: HTTPS
7*6236dae4SAndroid Build Coastguard WorkerAdded: 7.36.0
8*6236dae4SAndroid Build Coastguard WorkerMutexed:
9*6236dae4SAndroid Build Coastguard WorkerRequires: TLS
10*6236dae4SAndroid Build Coastguard WorkerHelp: Disable the NPN TLS extension
11*6236dae4SAndroid Build Coastguard WorkerCategory: deprecated
12*6236dae4SAndroid Build Coastguard WorkerMulti: boolean
13*6236dae4SAndroid Build Coastguard WorkerSee-also:
14*6236dae4SAndroid Build Coastguard Worker  - no-alpn
15*6236dae4SAndroid Build Coastguard Worker  - http2
16*6236dae4SAndroid Build Coastguard WorkerExample:
17*6236dae4SAndroid Build Coastguard Worker  - --no-npn $URL
18*6236dae4SAndroid Build Coastguard Worker---
19*6236dae4SAndroid Build Coastguard Worker
20*6236dae4SAndroid Build Coastguard Worker# `--no-npn`
21*6236dae4SAndroid Build Coastguard Worker
22*6236dae4SAndroid Build Coastguard Workercurl never uses NPN, this option has no effect (added in 7.86.0).
23*6236dae4SAndroid Build Coastguard Worker
24*6236dae4SAndroid Build Coastguard WorkerDisable the NPN TLS extension. NPN is enabled by default if libcurl was built
25*6236dae4SAndroid Build Coastguard Workerwith an SSL library that supports NPN. NPN is used by a libcurl that supports
26*6236dae4SAndroid Build Coastguard WorkerHTTP/2 to negotiate HTTP/2 support with the server during https sessions.
27