netty5/codec-http2/src/test/java/io
Norman Maurer 51629245d0 Call debugData.retain() before we forward the frame to the pipeline
Motivation:

We need to call debugData.retain() before we forward the frame to the pipeline as ByteToMessageDecoder will call release() on the buffer.

Modifications:

Correctly retain debugData and fix the unit test to test for it.

Result:

No more IllegalReferenceCountException when using the Http2FrameCodec.
2016-09-12 06:45:13 -07:00
..
netty/handler/codec/http2 Call debugData.retain() before we forward the frame to the pipeline 2016-09-12 06:45:13 -07:00