From 9d5f6f67d612bcf6d5edfec3e6a442f499dab9bd Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Tue, 11 Jul 2023 15:08:35 +0200 Subject: fix(node/http): add destroy to FakeSocket (#19796) Closes #19782 --- ext/node/polyfills/http.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/node/polyfills') diff --git a/ext/node/polyfills/http.ts b/ext/node/polyfills/http.ts index 6a1ea7105..391906c40 100644 --- a/ext/node/polyfills/http.ts +++ b/ext/node/polyfills/http.ts @@ -283,6 +283,8 @@ class FakeSocket extends EventEmitter { setKeepAlive() {} end() {} + + destroy() {} } /** ClientRequest represents the http(s) request from the client */ -- cgit v1.2.3