diff options
author | 2023-06-28 16:00:52 -0400 | |
---|---|---|
committer | 2023-06-29 23:40:47 -0400 | |
commit | 516d549b0ad7b97c98ec930d08a835db4cdd7763 (patch) | |
tree | 11817a515b6a0e3756516cc73663f4dc5c39e26a | |
parent | f0a3559e93a87fdb2d7b4c88edf60726fcce0265 (diff) | |
download | bun-516d549b0ad7b97c98ec930d08a835db4cdd7763.tar.gz bun-516d549b0ad7b97c98ec930d08a835db4cdd7763.tar.zst bun-516d549b0ad7b97c98ec930d08a835db4cdd7763.zip |
oops
-rw-r--r-- | src/bun.js/api/server.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bun.js/api/server.zig b/src/bun.js/api/server.zig index 65c85adcf..2b35e68ca 100644 --- a/src/bun.js/api/server.zig +++ b/src/bun.js/api/server.zig @@ -1961,9 +1961,9 @@ fn NewRequestContext(comptime ssl_enabled: bool, comptime debug_mode: bool, comp // uWS automatically adds the status line if needed // we want to batch network calls as much as possible - // if (!(this.response_ptr.?.statusCode() == 200 and this.response_ptr.?.body.init.headers == null)) { - // } - this.renderMetadata(); + if (!(this.response_ptr.?.statusCode() == 200 and this.response_ptr.?.body.init.headers == null)) { + this.renderMetadata(); + } stream.value.ensureStillAlive(); var response_stream = this.allocator.create(ResponseStream.JSSink) catch unreachable; |