diff options
Diffstat (limited to '')
| -rw-r--r-- | src/bun.js/webcore/streams.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bun.js/webcore/streams.zig b/src/bun.js/webcore/streams.zig index 186b9304a..dddfcbaf5 100644 --- a/src/bun.js/webcore/streams.zig +++ b/src/bun.js/webcore/streams.zig @@ -2377,8 +2377,7 @@ pub fn HTTPServerWritable(comptime ssl: bool) type { this.has_backpressure = false; return true; } else { - const backpressure = this.res.write(buf); - this.has_backpressure = backpressure; + this.has_backpressure = !this.res.write(buf); return true; } |
