(stream, state)
| 869 | // However, if we're not ended, or reading, and the length < hwm, |
| 870 | // then go ahead and try to read some more preemptively. |
| 871 | function maybeReadMore(stream, state) { |
| 872 | if ((state[kState] & (kReadingMore | kReading | kConstructed)) === kConstructed) { |
| 873 | state[kState] |= kReadingMore; |
| 874 | process.nextTick(maybeReadMore_, stream, state); |
| 875 | } |
| 876 | } |
| 877 | |
| 878 | function maybeReadMore_(stream, state) { |
| 879 | // Attempt to read more data if we should. |
no outgoing calls
no test coverage detected