Hey thanks mscdex, yeah I see that, so I must be misunderstanding how it works, I would have though that the number passed to read would carry through to _read, but instead the read method uses it's n parameter independently and always passes in the high water mark?
On Sun, Nov 3, 2013 at 11:24 PM, mscdex <[email protected]> wrote: > On Sunday, November 3, 2013 5:46:25 PM UTC-5, Dave Clements wrote: >> >> This (with Node 0.10.21) will log 16384 (the high water mark), instead of >> the expected 512. >> >> > https://github.com/joyent/node/blob/v0.10/lib/_stream_readable.js#L320 > > -- > -- > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 a topic in the > Google Groups "nodejs" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/nodejs/bCtkcP2aOig/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- David Mark Clements Ltd is a company registered in Northern Ireland. Registered number: NI617728. Registered office: Unit 22a, Pennybridge Industrial Estate, Ballymena, Antrim, BT42 3HB -- -- 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
