no-npn.d 577 B

12345678910111213141516171819
  1. c: Copyright (C) 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. Disable the NPN TLS extension. NPN is enabled by default if libcurl was built
  17. with an SSL library that supports NPN. NPN is used by a libcurl that supports
  18. HTTP/2 to negotiate HTTP/2 support with the server during https sessions.