node/lib/internal/streams
Robert Nagy d4171e0eac stream: resume stream on drain
Previously we would just resume "flowing" the stream without
reseting the "paused" state. Fixes this by properly using
pause/resume methods for .pipe.

Fixes: https://github.com/nodejs/node/issues/41785

PR-URL: https://github.com/nodejs/node/pull/41848
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2022-04-27 20:43:50 -05:00
..
buffer_list.js
destroy.js tools: enable no-unused-expressions lint rule 2021-06-11 09:29:47 +02:00
duplex.js
duplexpair.js
end-of-stream.js stream: only use legacy close listeners if not willEmitClose 2021-06-11 09:29:53 +02:00
from.js
lazy_transform.js
legacy.js
passthrough.js
pipeline.js doc,lib: prepare for stricter multi-line array linting 2021-09-04 12:24:57 +02:00
readable.js stream: resume stream on drain 2022-04-27 20:43:50 -05:00
state.js
transform.js
utils.js stream: pipeline accept Buffer as a valid first argument 2021-09-04 09:06:51 +02:00
writable.js stream: fix multiple Writable.destroy() calls 2021-06-11 09:30:17 +02:00