Commit e26622bd authored by isaacs's avatar isaacs
Browse files

stream: Correct Transform class backpressure

The refactor in b43e5441 to use
stream.push() in Transform inadvertently caused it to immediately
consume all the written data, regardless of whether or not the readable
side was being consumed.

Only pull data through the _transform() process when the readable side
is being consumed.

Fix #4667
parent 0d7a0216
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment