summaryrefslogtreecommitdiff
path: root/ext/node
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-06-30 03:39:16 +0200
committerGitHub <noreply@github.com>2023-06-30 03:39:16 +0200
commit4db534d4614e2b96161b67906e062500e764079c (patch)
tree266bf16b03735e019ed36dd7795c2038c2c2e0bb /ext/node
parent13a45ae994640d3d2a255d20afe3d9ed95edc853 (diff)
fix(node/http): add setKeepAlive to FakeSocket (#19659)
Closes #19535
Diffstat (limited to 'ext/node')
-rw-r--r--ext/node/polyfills/http.ts1
1 files changed, 1 insertions, 0 deletions
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 */