From 7cb140451135d15e4059f047a592d8b48fb8a2be Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Thu, 4 May 2023 17:09:24 -0700 Subject: Revert "Add `setNoDelay`" This reverts commit 8b6dd0c7e1c78a37da693dc216b18f32caa61927. --- src/bun.js/http.exports.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/bun.js') diff --git a/src/bun.js/http.exports.js b/src/bun.js/http.exports.js index 4ae36c52d..137906a5d 100644 --- a/src/bun.js/http.exports.js +++ b/src/bun.js/http.exports.js @@ -399,10 +399,6 @@ export class IncomingMessage extends Readable { callback(); } - setNoDelay(val) { - return this; - } - #closeBodyStream() { debug("closeBodyStream()"); var bodyStream = this.#bodyStream; @@ -913,6 +909,7 @@ export class ClientRequest extends OutgoingMessage { #upgradeOrConnect = false; #parser = null; #maxHeadersCount = null; + #reusedSocket = false; #host; #protocol; #method; @@ -1183,6 +1180,7 @@ export class ClientRequest extends OutgoingMessage { this.#upgradeOrConnect = false; this.#parser = null; this.#maxHeadersCount = null; + this.#reusedSocket = false; this.#host = host; this.#protocol = protocol; -- cgit v1.2.3