2022-06-14 06:12:03 +08:00
|
|
|
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
SPDX-License-Identifier: curl
|
2016-11-14 06:40:12 +08:00
|
|
|
Long: no-npn
|
2016-11-16 21:20:36 +08:00
|
|
|
Tags: Versions HTTP/2
|
2016-11-14 06:40:12 +08:00
|
|
|
Protocols: HTTPS
|
|
|
|
Added: 7.36.0
|
|
|
|
Mutexed:
|
|
|
|
See-also: no-alpn http2
|
|
|
|
Requires: TLS
|
2016-11-15 16:08:50 +08:00
|
|
|
Help: Disable the NPN TLS extension
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: tls http
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --no-npn $URL
|
2016-11-14 06:40:12 +08:00
|
|
|
---
|
2022-09-01 15:23:22 +08:00
|
|
|
In curl 7.86.0 and later, curl never uses NPN.
|
|
|
|
|
2016-11-14 06:40:12 +08:00
|
|
|
Disable the NPN TLS extension. NPN is enabled by default if libcurl was built
|
|
|
|
with an SSL library that supports NPN. NPN is used by a libcurl that supports
|
|
|
|
HTTP/2 to negotiate HTTP/2 support with the server during https sessions.
|