From 4db534d4614e2b96161b67906e062500e764079c Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Fri, 30 Jun 2023 03:39:16 +0200 Subject: fix(node/http): add setKeepAlive to FakeSocket (#19659) Closes #19535 --- ext/node/polyfills/http.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'ext') diff --git a/ext/node/polyfills/http.ts b/ext/node/polyfills/http.ts index 28592437e..f651b1f50 100644 --- a/ext/node/polyfills/http.ts +++ b/ext/node/polyfills/http.ts @@ -274,6 +274,7 @@ const kError = Symbol("kError"); const kUniqueHeaders = Symbol("kUniqueHeaders"); class FakeSocket extends EventEmitter { + setKeepAlive() {} } /** ClientRequest represents the http(s) request from the client */ -- cgit v1.2.3