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