On Wednesday, November 20, 2013 2:03:00 PM UTC-5, Laurent Fortin wrote: > > Shouldn't the readable stream be in "flowing mode" after resuming? >
IIRC "flowing mode" is for streams2. By calling resume() here you are switching to "old mode" (streams1), so flowing is not set/used. On Wednesday, November 20, 2013 2:15:11 PM UTC-5, Laurent Fortin wrote: > > Also, after doing: > > readable.pipe( process.stdout ); > > the 'pipes' property inside the readable._readableState object is still > === null ... > This is also correct. Again when switching to "old mode," the pipe() implementation is changed[1] to the (streams1) pipe() from stream.js which has no knowledge of _readableState. Therefore .pipes, .pipesCount, etc. are not modified. [1] https://github.com/joyent/node/blob/v0.10/lib/_stream_readable.js#L738 -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.