netty5/codec/src
Brendt Lucas aa8917115c Determine CompositeByteBuf implementation by using ByteBufAllocator
Motivation:

Currently, using a MessageAggregator in the pipeline always results in the creation of an unpooled heap CompositeByteBuf. By using the ByteBufAllocator the CompositeByteBuf will use the implementation specified by the ByteBufAllocator.

Modifications:

Use the ChannelHandlerContext's ByteBufAllocator to create the CompositeByteBuf for message aggregation

Result:

The CompositeByteBuf is now configured based on the ByteBufAllocator's settings.
2015-02-08 15:46:06 +01:00
..
main/java/io/netty/handler/codec Determine CompositeByteBuf implementation by using ByteBufAllocator 2015-02-08 15:46:06 +01:00
test Ensure channelReadComplete() is called only when necessary 2015-02-07 16:13:56 +09:00