summaryrefslogtreecommitdiff
path: root/ext/flash/01_http.js
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-09-28 10:46:29 -0700
committerGitHub <noreply@github.com>2022-09-28 23:16:29 +0530
commite64af6260a512a9e6eaed8bc8c48f0222c39afb2 (patch)
tree2471772b0a9f18e61fd0e8c4b2140fb2556c5e5e /ext/flash/01_http.js
parentd677ba67f50e5edb0491d8ed1e4171473d662081 (diff)
feat(ext/flash): add `reuseport` option on Linux (#16022)
Diffstat (limited to 'ext/flash/01_http.js')
-rw-r--r--ext/flash/01_http.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/flash/01_http.js b/ext/flash/01_http.js
index faf740f2e..fcea23a95 100644
--- a/ext/flash/01_http.js
+++ b/ext/flash/01_http.js
@@ -459,6 +459,7 @@
const listenOpts = {
hostname: options.hostname ?? "127.0.0.1",
port: options.port ?? 9000,
+ reuseport: options.reusePort ?? false,
};
if (options.cert || options.key) {
if (!options.cert || !options.key) {