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 lib: use remaining typed arrays from primordials 2020-10-13 23:58:02 +01:00
destroy.js tools: enable no-unused-expressions lint rule 2021-06-11 09:29:47 +02:00
duplex.js stream: writableNeedDrain 2021-05-01 09:39:08 +02:00
duplexpair.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00
end-of-stream.js stream: only use legacy close listeners if not willEmitClose 2021-06-11 09:29:53 +02:00
from.js stream: remove redundant context from comments 2020-12-15 20:13:07 +00:00
lazy_transform.js crypto: fix performance regression 2020-02-13 22:50:56 +01:00
legacy.js stream: fix legacy pipe error handling 2021-06-11 09:28:45 +02:00
passthrough.js stream: move to internal/streams 2020-12-02 19:22:19 +00:00
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 lib: use static Number properties from primordials 2019-11-30 13:45:38 +01:00
transform.js stream: move to internal/streams 2020-12-02 19:22:19 +00:00
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