blob: 97314e8ccf111619d0e55957f78c7f26d22a8448 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: no-npn
4Tags: Versions HTTP/2
5Protocols: HTTPS
6Added: 7.36.0
7Mutexed:
8See-also: no-alpn http2
9Requires: TLS
10Help: Disable the NPN TLS extension
11Category: tls http
12Example: --no-npn $URL
13Multi: boolean
14---
15In curl 7.86.0 and later, curl never uses NPN.
16
17Disable the NPN TLS extension. NPN is enabled by default if libcurl was built
18with an SSL library that supports NPN. NPN is used by a libcurl that supports
19HTTP/2 to negotiate HTTP/2 support with the server during https sessions.