netty5/codec-http2/src
Norman Maurer f47cf0c4d3 Reduce object creation on Http2FrameCodec (#9333)
Motivation:

We don't need the extra ChannelPromise when writing headers anymore in Http2FrameCodec. This also means we cal re-use a ChannelFutureListener and so not need to create new instances all the time.

Modifications:

- Just pass the original ChannelPromise when writing headers
- Reuse the ChannelFutureListener

Result:

Two less objects created when writing headers for an not-yet created stream.
2019-07-06 09:14:16 +02:00
..
main Reduce object creation on Http2FrameCodec (#9333) 2019-07-06 09:14:16 +02:00
test Fix test after bad cherry-pick of e96c37dea7 2019-07-05 10:24:27 +02:00