Skip to content

Commit

Permalink
[stream] fix flush (#3073)
Browse files Browse the repository at this point in the history
* fix flush

* remove logs
  • Loading branch information
cirospaciari authored and Jarred-Sumner committed May 27, 2023
1 parent b1869c5 commit f49d5ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/bun.js/webcore/streams.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit f49d5ab

Please sign in to comment.