mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 13:51:47 +00:00
fix streaming issue (#23289)
### What does this PR do? ### How did you verify your code works?
This commit is contained in:
@@ -68,8 +68,8 @@ pub fn signalHeaderProgress(this: *AsyncHTTP) void {
|
||||
progress.store(true, .release);
|
||||
}
|
||||
|
||||
pub fn enableBodyStreaming(this: *AsyncHTTP) void {
|
||||
var stream = this.signals.body_streaming orelse return;
|
||||
pub fn enableResponseBodyStreaming(this: *AsyncHTTP) void {
|
||||
var stream = this.signals.response_body_streaming orelse return;
|
||||
stream.store(true, .release);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user