diff options
| author | Ben Noordhuis <info@bnoordhuis.nl> | 2018-03-17 05:13:47 +0100 |
|---|---|---|
| committer | Ben Noordhuis <info@bnoordhuis.nl> | 2018-03-27 16:22:37 +0200 |
| commit | 5bfbe5ceaecb6412b176db446caf00f77f84bae7 (patch) | |
| tree | 4c3a6696de1c1116046144473cac5e1389564790 /lib/https.js | |
| parent | b3f23910a25613eb289fe4b338f83783a9f731b3 (diff) | |
| download | node-new-5bfbe5ceaecb6412b176db446caf00f77f84bae7.tar.gz | |
tls: drop NPN (next protocol negotiation) support
NPN has been superseded by ALPN. Chrome and Firefox removed support for
NPN in 2016 and 2017 respectively to no ill effect.
Fixes: https://github.com/nodejs/node/issues/14602
PR-URL: https://github.com/nodejs/node/pull/19403
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'lib/https.js')
| -rw-r--r-- | lib/https.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/https.js b/lib/https.js index b9e2d56492..4cca2fb9ee 100644 --- a/lib/https.js +++ b/lib/https.js @@ -49,10 +49,6 @@ function Server(opts, requestListener) { } opts = util._extend({}, opts); - if (process.features.tls_npn && !opts.NPNProtocols) { - opts.NPNProtocols = ['http/1.1', 'http/1.0']; - } - if (process.features.tls_alpn && !opts.ALPNProtocols) { // http/1.0 is not defined as Protocol IDs in IANA // http://www.iana.org/assignments/tls-extensiontype-values |
