Repository navigation
Tags
Tags
[maven-release-plugin] copy for tag netty-4.2.20.Final
[maven-release-plugin] copy for tag netty-4.1.140.Final
[maven-release-plugin] copy for tag netty-4.2.19.Final
[maven-release-plugin] copy for tag netty-4.1.139.Final
[maven-release-plugin] copy for tag netty-4.2.18.Final
[maven-release-plugin] copy for tag netty-4.1.138.Final
Fix JZlibDecoder truncating highly compressible streams (#17392) ### Motivation JZlibDecoder sizes each output buffer from the remaining compressed input. For highly compressible raw deflate streams, JZlib can consume the last input byte while decoded bytes remain buffered. The next zero-sized output buffer makes inflate return Z_BUF_ERROR, and the decoder silently emits a short body. `JdkZlibDecoder`, in the same package, already floors that capacity at 512 bytes (#17364). ### Modification Apply the same floor while draining JZlib. Add parameterized coverage for the downstream-forwarding and fragmented-input paths, with each compressed fixture cross-checked by the JDK inflater. ### Result Raw streams of 65,537 bytes in one write and 33,333 bytes in 7-byte chunks are fully decoded. codec-compression passes 508 tests, and `verify` on JDK 11 is clean.
[maven-release-plugin] copy for tag netty-4.1.137.Final
[maven-release-plugin] copy for tag netty-4.2.17.Final
[maven-release-plugin] copy for tag netty-4.1.136.Final
PreviousNext