summaryrefslogtreecommitdiff
path: root/ext/node
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node')
-rw-r--r--ext/node/polyfills/http.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/node/polyfills/http.ts b/ext/node/polyfills/http.ts
index bba11cdc1..b34c45f9c 100644
--- a/ext/node/polyfills/http.ts
+++ b/ext/node/polyfills/http.ts
@@ -279,6 +279,8 @@ class FakeSocket extends EventEmitter {
this.remoteAddress = opts.hostname;
this.remotePort = opts.port;
this.encrypted = opts.encrypted;
+ this.writable = true;
+ this.readable = true;
}
setKeepAlive() {}