netty5/codec/src
Scott Mitchell e06cb82c4c JdkZlibDecoder and JZlibDecoder consistency
Motivation:
JdkZlibDecoder will allocate a new buffer when the previous buffer is filled with inflated data, but JZlibDecoder will attempt to use the same buffer by resizing. This leads to inconsistent results when these two decoders that are intended to be functionality equivalent.

Modifications:
- JdkZlibDecoder should attempt to resize and reuse the existing buffer instead of creating multiple buffers

Result:
Fixes https://github.com/netty/netty/issues/6804
2017-06-06 14:18:10 -07:00
..
main/java/io/netty/handler/codec JdkZlibDecoder and JZlibDecoder consistency 2017-06-06 14:18:10 -07:00
test ByteToMessageDecoder#handlerRemoved may release cumulation buffer prematurely 2017-05-10 11:16:26 -07:00