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-alpn |
| 4 | Tags: HTTP/2 |
| 5 | Protocols: HTTPS |
| 6 | Added: 7.36.0 |
| 7 | See-also: no-npn http2 |
| 8 | Requires: TLS |
| 9 | Help: Disable the ALPN TLS extension |
| 10 | Category: tls http |
| 11 | Example: --no-alpn $URL |
| 12 | Multi: boolean |
| 13 | --- |
| 14 | Disable the ALPN TLS extension. ALPN is enabled by default if libcurl was built |
| 15 | with an SSL library that supports ALPN. ALPN is used by a libcurl that supports |
| 16 | HTTP/2 to negotiate HTTP/2 support with the server during https sessions. |