node/lib/internal/streams
Robert Nagy 46ed078607
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-03-14 09:32:19 -04:00
..
add-abort-signal.js
buffer_list.js stream: check for null instead of falsy in loops 2022-03-14 09:32:02 -04:00
compose.js stream: add signal support to pipeline generators 2021-09-10 20:34:38 +01:00
destroy.js stream: allow calling callback before promise 2022-01-31 22:53:46 -05:00
duplex.js stream: duplexify 2021-08-23 15:41:25 +02:00
duplexify.js stream: fix fromAsyncGen 2021-10-19 09:51:53 -04:00
end-of-stream.js stream: add stream.compose 2021-09-06 09:23:53 +02:00
from.js lib: remove useless statement 2021-09-22 00:27:12 +01:00
lazy_transform.js lib: revert primordials in a hot path 2021-04-19 10:23:01 +02:00
legacy.js lib: revert primordials in a hot path 2021-04-19 10:23:01 +02:00
operators.js stream: add filter method to readable 2022-01-31 23:54:33 -05:00
passthrough.js lib: revert primordials in a hot path 2021-04-19 10:23:01 +02:00
pipeline.js stream: pipeline with end option 2022-01-31 22:59:26 -05:00
readable.js stream: resume stream on drain 2022-03-14 09:32:19 -04:00
state.js
transform.js stream: drain Transform with 0 highWaterMark 2022-01-31 23:00:25 -05:00
utils.js stream: avoid function call where possible 2022-02-25 22:34:08 -05:00
writable.js stream: fix error-path function call 2022-01-31 23:54:55 -05:00