Skip to content

[v18.x backport] stream: fix deadlock when pipeing to full sink

When piping a paused Readable to a full Writable we didn't register a drain listener which cause the src to never resume.

Refs: https://github.com/nodejs/node/issues/48666 PR-URL: https://github.com/nodejs/node/pull/48691 Reviewed-By: Benjamin Gruenbaum benjamingr@gmail.com Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Matteo Collina matteo.collina@gmail.com

Merge request reports

Loading