GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — stream.Readable unpipes the wrong stream when piped into multiple streams · Issue #9170 · nodejs/node Closed Labels confirmed-bugIssues and PRs for confirmed bugs.Issues and PRs for confirmed bugs.streamIssues and PRs related to Node.js streams.Issues and PRs related to Node.js streams. Description
Since node 6.8.0 there is a bug where unpiping a stream from a readable stream that has a _readableState.pipesCount > 1 will cause it to remove the first stream in the _.readableState.pipes array no matter where in the list the dest stream was. Example test case: "use strict" const PassThrough = require('stream').PassThrough const source = PassThrough() const dest1 = PassThrough() const dest2 = PassThrough() source.pipe(dest1) source.pipe(dest2) source.unpipe(dest2) console.log(source._readableState.pipes === dest1) //false console.log(source._readableState.pipes === dest2) //true As you can see, the wrong stream was unpiped It looks like this is the commit that broke things (2e568d9#diff-ba6a0df0f5212f5cba5ca5179e209a17R670) Activity
MetadataMetadataAssigneesLabelsconfirmed-bugIssues and PRs for confirmed bugs.Issues and PRs for confirmed bugs.streamIssues and PRs related to Node.js streams.Issues and PRs related to Node.js streams. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |