netty5/handler/src
Norman Maurer de3b3678d7
Reduce allocations in ChunkedWriteHandler when processing the queued … (#9960)
Motivation:

At the moment we create a new ChannelFutureListener per chunk when trying to write these to the underlying transport. This can be optimized by replacing the seperate write and flush call with writeAndFlush and only allocate the listener if the future is not complete yet.

Modifications:

- Replace seperate write and flush calls with writeAndFlush
- Only create listener if needed, otherwise execute directly

Result:

Less allocations
2020-01-21 15:34:29 -08:00
..
main Reduce allocations in ChunkedWriteHandler when processing the queued … (#9960) 2020-01-21 15:34:29 -08:00
test Add ResolveAddressHandler which can be used to resolve addresses on the fly (#9947) 2020-01-20 19:26:13 +01:00