From e64af6260a512a9e6eaed8bc8c48f0222c39afb2 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 28 Sep 2022 10:46:29 -0700 Subject: feat(ext/flash): add `reuseport` option on Linux (#16022) --- cli/dts/lib.deno.unstable.d.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cli/dts') diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index 98cae94a4..a25c1011e 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -1352,6 +1352,9 @@ declare namespace Deno { /** An AbortSignal to close the server and all connections. */ signal?: AbortSignal; + /** Sets SO_REUSEPORT on Linux. */ + reusePort?: boolean; + /** The handler to invoke when route handlers throw an error. */ onError?: (error: unknown) => Response | Promise; -- cgit v1.2.3