netty5/codec-http2/src
Norman Maurer 43f7a9ea2a Use configured ByteBufAllocator in InboundHttp2ToHttpAdapter (#9611)
Motivation:

At the moment we use Unpooled.buffer(...) in InboundHttp2ToHttpAdapter when we need to do a copy of the message. We should better use the configured ByteBufAllocator for the Channel

Modifications:

Change internal interface to also take the ByteBufAllocator as argument and use it when we need to allocate a ByteBuf.

Result:

Use the "correct" ByteBufAllocator in InboundHttp2ToHttpAdapter in all cases
2019-09-26 22:12:02 +02:00
..
main Use configured ByteBufAllocator in InboundHttp2ToHttpAdapter (#9611) 2019-09-26 22:12:02 +02:00
test Change semantics of EmbeddedChannel to match other transports more closely. (#9529) 2019-09-04 12:00:06 +02:00