diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2023-07-11 15:08:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 15:08:35 +0200 |
commit | 9d5f6f67d612bcf6d5edfec3e6a442f499dab9bd (patch) | |
tree | dec6569df4570e64a8377b5067468782ec5f048a /ext/node/polyfills | |
parent | 4cfc54931d765a012b7836e60ba556d9c7b421ff (diff) |
fix(node/http): add destroy to FakeSocket (#19796)
Closes #19782
Diffstat (limited to 'ext/node/polyfills')
-rw-r--r-- | ext/node/polyfills/http.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |