curl/lib/vtls
Daniel Stenberg 472f1cbe7e
NPN: remove support for and use of
Next Protocol Negotiation is a TLS extension that was created and used
for agreeing to use the SPDY protocol (the precursor to HTTP/2) for
HTTPS. In the early days of HTTP/2, before the spec was finalized and
shipped, the protocol could be enabled using this extension with some
servers.

curl supports the NPN extension with some TLS backends since then, with
a command line option `--npn` and in libcurl with
`CURLOPT_SSL_ENABLE_NPN`.

HTTP/2 proper is made to use the ALPN (Application-Layer Protocol
Negotiation) extension and the NPN extension has no purposes
anymore. The HTTP/2 spec was published in May 2015.

Today, use of NPN in the wild should be extremely rare and most likely
totally extinct. Chrome removed NPN support in Chrome 51, shipped in
June 2016. Removed in Firefox 53, April 2017.

Closes #9307
2022-09-05 07:39:02 +02:00
..
bearssl.c NPN: remove support for and use of 2022-09-05 07:39:02 +02:00
bearssl.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
gskit.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
gskit.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
gtls.c NPN: remove support for and use of 2022-09-05 07:39:02 +02:00
gtls.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
hostcheck.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
hostcheck.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
keylog.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
keylog.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
mbedtls_threadlock.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
mbedtls_threadlock.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
mbedtls.c NPN: remove support for and use of 2022-09-05 07:39:02 +02:00
mbedtls.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
nss.c NPN: remove support for and use of 2022-09-05 07:39:02 +02:00
nssg.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
openssl.c NPN: remove support for and use of 2022-09-05 07:39:02 +02:00
openssl.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
rustls.c NPN: remove support for and use of 2022-09-05 07:39:02 +02:00
rustls.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
schannel_verify.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
schannel.c NPN: remove support for and use of 2022-09-05 07:39:02 +02:00
schannel.h schannel: Add TLS 1.3 support 2022-08-02 13:54:31 -04:00
sectransp.c NPN: remove support for and use of 2022-09-05 07:39:02 +02:00
sectransp.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
vtls.c vtls: make Curl_ssl_backend() return the enum type curl_sslbackend 2022-07-23 13:38:33 +02:00
vtls.h vtls: make Curl_ssl_backend() return the enum type curl_sslbackend 2022-07-23 13:38:33 +02:00
wolfssl.c NPN: remove support for and use of 2022-09-05 07:39:02 +02:00
wolfssl.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
x509asn1.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
x509asn1.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00