diff options
author | 2023-05-04 17:09:24 -0700 | |
---|---|---|
committer | 2023-05-04 17:09:24 -0700 | |
commit | 7cb140451135d15e4059f047a592d8b48fb8a2be (patch) | |
tree | ba91e54a4f3689463aceb085c55b2f0f8cf2a6ea | |
parent | 8e4f777d352b1c55f510ed8b81629733f7c32cd1 (diff) | |
download | bun-7cb140451135d15e4059f047a592d8b48fb8a2be.tar.gz bun-7cb140451135d15e4059f047a592d8b48fb8a2be.tar.zst bun-7cb140451135d15e4059f047a592d8b48fb8a2be.zip |
Revert "Add `setNoDelay`"
This reverts commit 8b6dd0c7e1c78a37da693dc216b18f32caa61927.
-rw-r--r-- | src/bun.js/http.exports.js | 6 |
1 files changed, 2 insertions, 4 deletions
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; |