You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
piping to a stream with highWaterMark: 0 and objectMode: false is broken since node v20.10.0 #51930
changed the title [-]piping to a stream with `highWaterMark: 0` and `objectMode: false` does not work as expected, since node v20.10.0[/-][+]piping to a stream with `highWaterMark: 0` and `objectMode: false` is broken since node v20.10.0[/+]on Mar 12, 2024
Activity
dy-dx commentedon Feb 29, 2024
After building nodejs locally, I can confirm this change caused the issue: #50014
IlyasShabi commentedon Mar 4, 2024
I will investigate this later today
[-]piping to a stream with `highWaterMark: 0` and `objectMode: false` does not work as expected, since node v20.10.0[/-][+]piping to a stream with `highWaterMark: 0` and `objectMode: false` is broken since node v20.10.0[/+]Workaround nodejs/node#51930
orgads commentedon May 27, 2024
@IlyasShabi any progress with this? We hit a similar issue with a custom
Writablethat calls its callback with anError.ronag commentedon May 29, 2024
Here is a possible fix if someone wants to take a look at this:
ronag commentedon May 29, 2024
In general I would say that a highWaterMark of 0 doesn't make much sense...
jakecastelli commentedon Jun 2, 2024
I will take a look at this 👀
stream: prevent stream unexpected pause when highWaterMark set to 0
jakecastelli commentedon Jun 17, 2024
I have linked the spec related discussion here just for visibility and potentially future discussion, thanks @vweevers
stream: prevent stream unexpected pause when highWaterMark set to 0
stream: prevent stream unexpected pause when highWaterMark set to 0