diff options
| author | 2023-05-04 15:25:27 -0700 | |
|---|---|---|
| committer | 2023-05-04 17:09:10 -0700 | |
| commit | 8b6dd0c7e1c78a37da693dc216b18f32caa61927 (patch) | |
| tree | ff6352331d4ac62fe4c5a12a331f01b6ae40c5e6 /src | |
| parent | c43c1b50fffece35c1507f18758df6b450cc57c9 (diff) | |
| download | bun-8b6dd0c7e1c78a37da693dc216b18f32caa61927.tar.gz bun-8b6dd0c7e1c78a37da693dc216b18f32caa61927.tar.zst bun-8b6dd0c7e1c78a37da693dc216b18f32caa61927.zip | |
Add `setNoDelay`
Diffstat (limited to 'src')
| -rw-r--r-- | src/bun.js/http.exports.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bun.js/http.exports.js b/src/bun.js/http.exports.js index 137906a5d..4ae36c52d 100644 --- a/src/bun.js/http.exports.js +++ b/src/bun.js/http.exports.js @@ -399,6 +399,10 @@ export class IncomingMessage extends Readable { callback(); } + setNoDelay(val) { + return this; + } + #closeBodyStream() { debug("closeBodyStream()"); var bodyStream = this.#bodyStream; @@ -909,7 +913,6 @@ export class ClientRequest extends OutgoingMessage { #upgradeOrConnect = false; #parser = null; #maxHeadersCount = null; - #reusedSocket = false; #host; #protocol; #method; @@ -1180,7 +1183,6 @@ export class ClientRequest extends OutgoingMessage { this.#upgradeOrConnect = false; this.#parser = null; this.#maxHeadersCount = null; - this.#reusedSocket = false; this.#host = host; this.#protocol = protocol; |
