Files
node/lib
Trivikram Kamat d2e4682d56 stream: skip zero-byte broadcast writes
Zero-byte writes append entries to the broadcast buffer without
increasing bufferedBytes. This allows write('') and writev([]) to
bypass backpressure and grow the buffer without bound.

Treat zero-byte batches as successful no-ops, matching push streams,
and add coverage for the synchronous and asynchronous writer methods.

Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com>
Assisted-by: codex:gpt-5.6-sol
PR-URL: https://github.com/nodejs/node/pull/64772
Fixes: https://github.com/nodejs/node/issues/64771
Reviewed-By: Aviv Keller <me@aviv.sh>
2026-08-03 05:29:58 +00:00
..
…
…
…
2026-07-05 08:04:44 +00:00
…
…
2026-04-05 10:12:21 +00:00
2026-06-21 19:42:03 +00:00
2026-05-31 12:49:51 -07:00
…
…
…
…
2026-07-25 23:56:46 -07:00
…
…
…
…
2026-04-01 10:09:41 +00:00
…
…
2026-04-26 19:36:36 +00:00
2026-05-23 18:43:31 +00:00