curl/src
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
..
.gitignore copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
CMakeLists.txt CMake: remove APPEND in export(TARGETS) 2022-07-12 17:17:07 +02:00
curl.rc copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
Makefile.am copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
makefile.amiga copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
makefile.dj copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
Makefile.inc copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
Makefile.m32 Makefile.m32: allow -nghttp3/-ngtcp2 without -ssl [ci skip] 2022-08-15 02:49:59 +00:00
mkhelp.pl copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
slist_wc.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
slist_wc.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_binmode.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_binmode.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_bname.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_bname.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_cb_dbg.c trace: 0x7F character is non-printable 2022-07-17 10:10:35 +00:00
tool_cb_dbg.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_cb_hdr.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_cb_hdr.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_cb_prg.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_cb_prg.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_cb_rea.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_cb_rea.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_cb_see.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_cb_see.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_cb_wrt.c tool_cfgable: make 'synthetic_error' a plain bool 2022-07-23 13:39:20 +02:00
tool_cb_wrt.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_cfgable.c setopt: add CURLOPT_PROTOCOLS_STR and CURLOPT_REDIR_PROTOCOLS_STR 2022-07-04 08:35:09 +02:00
tool_cfgable.h NPN: remove support for and use of 2022-09-05 07:39:02 +02:00
tool_dirhie.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_dirhie.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_doswin.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_doswin.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_easysrc.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_easysrc.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_filetime.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_filetime.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_findfile.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_findfile.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_formparse.c tool_formparse: fix variable may be used before its value is set 2022-07-23 13:39:13 +02:00
tool_formparse.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_getparam.c NPN: remove support for and use of 2022-09-05 07:39:02 +02:00
tool_getparam.h getparam: correctly clean args 2022-08-31 01:03:36 +02:00
tool_getpass.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_getpass.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_help.c version: rename threadsafe-init to threadsafe 2022-06-13 18:59:45 +00:00
tool_help.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_helpers.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_helpers.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_hugehelp.c.cvs copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_hugehelp.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_libinfo.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_libinfo.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_listhelp.c docs/cmdline-opts: fix example and categories for --form-escape 2022-08-12 08:39:03 +02:00
tool_main.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_main.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_msgs.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_msgs.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_operate.c NPN: remove support for and use of 2022-09-05 07:39:02 +02:00
tool_operate.h tool_operate: reduce errorbuffer allocs 2022-09-01 09:25:00 +02:00
tool_operhlp.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_operhlp.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_panykey.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_panykey.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_paramhlp.c tool_paramhlp: fix "enumerated type mixed with another type" 2022-07-23 13:39:26 +02:00
tool_paramhlp.h tool_paramhlp: make check_protocol return ParameterError 2022-07-23 13:39:17 +02:00
tool_parsecfg.c getparam: correctly clean args 2022-08-31 01:03:36 +02:00
tool_parsecfg.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_progress.c tool_progress: remove 'Qd' from the parallel progress bar 2022-08-31 15:58:15 +02:00
tool_progress.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_sdecls.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_setopt.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_setopt.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_setup.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_sleep.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_sleep.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_strdup.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_strdup.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_urlglob.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_urlglob.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_util.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_util.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_version.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_vms.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_vms.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_writeout.c tool_operate: reduce errorbuffer allocs 2022-09-01 09:25:00 +02:00
tool_writeout.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_writeout_json.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_writeout_json.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_xattr.c copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
tool_xattr.h copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00