netty5/transport
Norman Maurer 652650b0db
Correctly decrement pending bytes when submitting AbstractWriteTask fails. (#8349)
Motivation:

Currently we may end up in the situation that we incremented the pending bytes before submitting the AbstractWriteTask but never decrement these again if the submitting of the task fails. This may result in incorrect watermark handling.

Modifications:

- Correctly decrement pending bytes if subimitting of task fails and also ensure we recycle it correctly.
- Add unit test.

Result:

Fixes https://github.com/netty/netty/issues/8343.
2018-10-11 18:46:10 +02:00
..
src Correctly decrement pending bytes when submitting AbstractWriteTask fails. (#8349) 2018-10-11 18:46:10 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2018-09-27 19:00:45 +00:00
test.log Correctly implement SelectedSelectionKeySet.Iterator remove() 2018-09-01 08:59:08 +02:00