netty5/codec/src
Norman Maurer 9a3be347af
Ensure we always encode all data in JdkZlibEncoder. (#8305)
Motivation:

In theory our estimation of the needed buffer could be off and so we need to ensure we grow it if there is no space left.

Modifications:

Ensure we grow the buffer if there is no space left in there but we still have data to deflate.

Result:

Correctly deflate data in all cases.
2018-09-22 13:34:12 -07:00
..
main/java/io/netty/handler/codec Ensure we always encode all data in JdkZlibEncoder. (#8305) 2018-09-22 13:34:12 -07:00
test Correctly reset offset when fail lazy because of too long frame. (#8257) 2018-09-04 19:13:56 +02:00