Files
node/lib
Robert Nagy ea765eba20 stream: simplify howMuchToRead()
This slightly refactors read by moving side effects out of
howMuchToRead().

We don't actually have to set state.needReadable = true; in
howMuchToRead() since read handles 0 return as needReadable.

PR-URL: https://github.com/nodejs/node/pull/29155
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2019-08-19 20:14:17 -07:00
..
2019-08-19 19:00:18 -07:00
2019-08-19 12:56:08 -07:00
2019-08-19 12:56:08 -07:00
2019-08-19 12:56:08 -07:00
2019-08-19 12:56:08 -07:00
2019-07-15 00:04:50 +02:00
2019-08-14 15:59:32 -07:00
2019-07-17 20:59:12 -07:00
2019-04-29 20:46:53 +08:00