From e61823c43a3a0ba38ce26cf36e7c37eefd9052b7 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Mon, 13 May 2019 09:07:56 +0200 Subject: [PATCH] tls: support `net.Server` options Pass `tls.Server` constructor options to the parent constructor. PR-URL: https://github.com/nodejs/node/pull/27665 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Rich Trott Reviewed-By: Ruben Bridgewater --- doc/api/tls.md | 6 ++ lib/_tls_wrap.js | 2 +- ...t-tls-server-parent-constructor-options.js | 63 +++++++++++++++++++ 3 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 test/parallel/test-tls-server-parent-constructor-options.js diff --git a/doc/api/tls.md b/doc/api/tls.md index 867681d1d2a626..23c9b3fb3753c3 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1485,6 +1485,10 @@ publicly trusted list of CAs as given in