netty5/transport/src
Norman Maurer 706db46b7e [#2485] Use RecvByteBufAllocator for all allocations related to read from Channel
Motivation:
At the moment we sometimes use only RecvByteBufAllocator.guess() to guess the next size and the use the ByteBufAllocator.* directly to allocate the buffer. We should always use RecvByteBufAllocator.allocate(...) all the time as this makes the behavior easier to adjust.

Modifications:
Change the read() implementations to make use of RecvByteBufAllocator.

Result:
Behavior is more consistent.
2014-05-10 15:21:25 +02:00
..
main/java/io/netty [#2485] Use RecvByteBufAllocator for all allocations related to read from Channel 2014-05-10 15:21:25 +02:00
test/java/io/netty [#2454] Correctly return null when DefaultChannelPipeline.firstContext() is called on empty pipeline 2014-05-04 21:13:56 +02:00