Files
node/lib
Anna Henningsen 6993eb0897 stream: fix y.pipe(x)+y.pipe(x)+y.unpipe(x)
Fix the uncommon situation when a readable stream is piped twice into
the same destination stream, and then unpiped once.

Previously, the `unpipe` event handlers weren’t able to tell whether
they were corresponding to the “right” conceptual pipe that was being
removed; this fixes this by adding a counter to the `unpipe` event
handler and only removing a single piping destination at most.

Fixes: https://github.com/nodejs/node/issues/12718
PR-URL: https://github.com/nodejs/node/pull/12746
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2017-05-03 15:33:37 +02:00
..
2017-05-01 11:18:51 -07:00
2017-03-17 11:09:10 -07:00
2017-03-10 11:23:48 -08:00
2017-04-21 13:09:49 -04:00
2017-04-30 03:17:36 -04:00
2017-04-30 03:17:53 -04:00
2016-10-04 12:17:32 -04:00
2017-04-30 03:18:01 -04:00
2017-03-10 11:23:48 -08:00
2017-03-31 22:02:25 +02:00
2017-04-30 03:17:50 -04:00
2017-04-28 14:29:45 -07:00
2017-03-10 11:23:48 -08:00