netty5/transport
Norman Maurer 3c2b86303a
Release message when validation of passed in ChannelPromise fails when calling write(...) / writeAndFlush(...) (#8769)
Motivation:

We need to release the message when we throw an IllegalArgumentException because of a validation failure of the promise to eliminate the risk of a memory leak.

Modifications:

- Consistently release the message before rethrow
- Add testcase.

Result:

Fixes https://github.com/netty/netty/issues/8765.
2019-01-24 07:43:04 +01:00
..
src Release message when validation of passed in ChannelPromise fails when calling write(...) / writeAndFlush(...) (#8769) 2019-01-24 07:43:04 +01:00
pom.xml [maven-release-plugin] prepare for next development iteration 2019-01-21 12:26:44 +00:00
test.log Correctly implement SelectedSelectionKeySet.Iterator remove() 2018-09-01 08:59:08 +02:00