fix writer.end

This commit is contained in:
cirospaciari
2024-03-05 16:06:18 -03:00
parent 9a17dcb196
commit e532014602

View File

@@ -1069,7 +1069,7 @@ pub fn WindowsStreamingWriter(
}
fn hasPendingData(this: *WindowsWriter) bool {
return (this.outgoing.isNotEmpty() and this.current_payload.isNotEmpty());
return (this.outgoing.isNotEmpty() or this.current_payload.isNotEmpty());
}
fn isDone(this: *WindowsWriter) bool {