summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/net.ts
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-07-19 00:33:43 +0200
committerGitHub <noreply@github.com>2023-07-19 00:33:43 +0200
commitbab0294db674c64c18243a877e9dff5f9a91c923 (patch)
tree117697ad9203478e63d782f1c22c51c08f251764 /ext/node/polyfills/net.ts
parent51b3534b3d3833667e8c029564bebf319b0d2596 (diff)
fix(node/net): Server connection callback include socket value (#19779)
Diffstat (limited to 'ext/node/polyfills/net.ts')
-rw-r--r--ext/node/polyfills/net.ts2
1 files changed, 2 insertions, 0 deletions
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;