summaryrefslogtreecommitdiff
path: root/lib/https.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/https.js')
-rw-r--r--lib/https.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/https.js b/lib/https.js
index 53a8a2751d..43bd6ee06c 100644
--- a/lib/https.js
+++ b/lib/https.js
@@ -48,7 +48,7 @@ function Server(opts, requestListener) {
}
opts = util._extend({}, opts);
- if (process.features.tls_alpn && !opts.ALPNProtocols) {
+ if (!opts.ALPNProtocols) {
// http/1.0 is not defined as Protocol IDs in IANA
// http://www.iana.org/assignments/tls-extensiontype-values
// /tls-extensiontype-values.xhtml#alpn-protocol-ids