diff options
author | 2023-01-16 17:48:35 -0800 | |
---|---|---|
committer | 2023-01-16 17:48:35 -0800 | |
commit | 74b0a1939d86c4afb3c4c211d53ce71b26a4fff9 (patch) | |
tree | f1529fc33e0449c24ff172a8b000c55e837519b1 | |
parent | 6f432e8b7da874822fd4b1ecbc0453496989f74b (diff) | |
download | bun-74b0a1939d86c4afb3c4c211d53ce71b26a4fff9.tar.gz bun-74b0a1939d86c4afb3c4c211d53ce71b26a4fff9.tar.zst bun-74b0a1939d86c4afb3c4c211d53ce71b26a4fff9.zip |
Fixes https://github.com/oven-sh/bun/issues/1654
-rw-r--r-- | src/bun.js/api/server.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/api/server.zig b/src/bun.js/api/server.zig index 485b9c1eb..4f97c7384 100644 --- a/src/bun.js/api/server.zig +++ b/src/bun.js/api/server.zig @@ -1449,7 +1449,7 @@ fn NewRequestContext(comptime ssl_enabled: bool, comptime debug_mode: bool, comp }; this.response_buf_owned = .{ .items = result.result.buf, .capacity = result.result.buf.len }; - this.resp.onWritable(*RequestContext, onWritableCompleteResponseBufferAndMetadata, this); + this.renderResponseBufferAndMetadataCorked(); } } |