Files
node/lib/internal/streams
Trivikram Kamat 977c20ed67 stream: avoid leaking consumers on signal failure
Validate Broadcast.push() and Share.pull() signals before registering
raw consumers. Return a rejecting iterable for pre-aborted signals
without adding a cursor.

This prevents failed subscriptions from leaving unreachable cursors
that inflate consumerCount and can permanently impose backpressure.

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/65299
Fixes: https://github.com/nodejs/node/issues/65298
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jason Zhang <xzha4350@gmail.com>
2026-08-17 05:02:53 +00:00
..
2024-03-13 19:02:14 +00:00
2024-09-24 19:48:15 +00:00