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