stream: fix deadlock when pipeing to full sink · nodejs/node@daeb21d · GitHub
Skip to content

Commit daeb21d

Browse files
ronagjuanarbol
authored andcommitted
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: #48666 PR-URL: #48691 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent 69b55d2 commit daeb21d

2 files changed

Lines changed: 28 additions & 3 deletions

File tree

lib/internal/streams/readable.js

Lines changed: 1 addition & 3 deletions
Lines changed: 27 additions & 0 deletions

0 commit comments

Comments
 (0)