df53de5b68
Motivation: We should avoid blocking in the event loop as much as possible. The InputStream.read() is a blocking method, and we don't need to call it if available() returns a positive number. Modification: Bypass calling InputStream.read() if available() returns a positive number. Result: Fewer blocking calls in the event loop, in general, when ChunkedStream is used. |
||
---|---|---|
.. | ||
src | ||
pom.xml |