67622a8141
Motivation: AbstractCoalescingBufferQueue had a bug which could lead to an empty queue while still report bytes left. This was due the fact that we decremented the pending bytes before draining the queue one-by-one. The problem here is that while the queue is drained we may notify the promise which may add again buffers to the queue for which we never decrement the bytes while we drain these Modifications: - Decrement the pending bytes every time we drain a buffer from the queue - Add unit tests Result: Fixes https://github.com/netty/netty/issues/10286 |
||
---|---|---|
.. | ||
src | ||
pom.xml |