db8dd66f09
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.