master-server/deps/curl/docs/cmdline-opts/no-alpn.md

27 lines
639 B
Markdown
Raw Normal View History

2024-05-15 15:20:32 -04:00
---
2023-12-11 20:30:44 -05:00
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: no-alpn
Tags: HTTP/2
Protocols: HTTPS
Added: 7.36.0
Requires: TLS
Help: Disable the ALPN TLS extension
Category: tls http
Multi: boolean
2024-05-15 15:20:32 -04:00
See-also:
- no-npn
- http2
Example:
- --no-alpn $URL
2023-12-11 20:30:44 -05:00
---
2024-05-15 15:20:32 -04:00
# `--no-alpn`
2023-12-11 20:30:44 -05:00
Disable the ALPN TLS extension. ALPN is enabled by default if libcurl was built
with an SSL library that supports ALPN. ALPN is used by a libcurl that supports
HTTP/2 to negotiate HTTP/2 support with the server during https sessions.
Note that this is the negated option name documented. You can use --alpn to
enable ALPN.