diff options
Diffstat (limited to 'ext/net/02_tls.js')
-rw-r--r-- | ext/net/02_tls.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/net/02_tls.js b/ext/net/02_tls.js index d3f906dbd..89913d1af 100644 --- a/ext/net/02_tls.js +++ b/ext/net/02_tls.js @@ -65,13 +65,14 @@ hostname = "0.0.0.0", transport = "tcp", alpnProtocols = undefined, + reusePort = false, }) { if (transport !== "tcp") { throw new TypeError(`Unsupported transport: '${transport}'`); } const [rid, localAddr] = ops.op_net_listen_tls( { hostname, port }, - { cert, certFile, key, keyFile, alpnProtocols }, + { cert, certFile, key, keyFile, alpnProtocols, reusePort }, ); return new TlsListener(rid, localAddr); } |