From bab0294db674c64c18243a877e9dff5f9a91c923 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Wed, 19 Jul 2023 00:33:43 +0200 Subject: fix(node/net): Server connection callback include socket value (#19779) --- ext/node/polyfills/net.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/node/polyfills') diff --git a/ext/node/polyfills/net.ts b/ext/node/polyfills/net.ts index fb1c1bdb6..bcc982d3b 100644 --- a/ext/node/polyfills/net.ts +++ b/ext/node/polyfills/net.ts @@ -2374,6 +2374,8 @@ export class Server extends EventEmitter { socket._server = this; DTRACE_NET_SERVER_CONNECTION(socket); + + return socket; } _listen2 = _setupListenHandle; -- cgit v1.2.3