Skip to content

Removing a readable listener now updates the readable state i.e.

Rodrigo Muino Tomonari requested to merge github/fork/plafer/fix-issue-7678 into master

Replicates changes made in joyent/node's PR: https://github.com/joyent/node/pull/25886

readableListening, needReadable and emittedReadable are set to false. Then, if a readable listener is added at a later time, the stream will know none are attached and will take proper action to get the stream going back again.

Fixes joyent/node#7678

Merge request reports

Loading