Visitar URL original
Tags · netty/netty · GitHub
Skip to content

Tags

Tags

netty-4.2.20.Final

Toggle netty-4.2.20.Final's commit message
[maven-release-plugin] copy for tag netty-4.2.20.Final

netty-4.1.140.Final

Toggle netty-4.1.140.Final's commit message
[maven-release-plugin] copy for tag netty-4.1.140.Final

netty-4.2.19.Final

Toggle netty-4.2.19.Final's commit message
[maven-release-plugin] copy for tag netty-4.2.19.Final

netty-4.1.139.Final

Toggle netty-4.1.139.Final's commit message
[maven-release-plugin] copy for tag netty-4.1.139.Final

netty-4.2.18.Final

Toggle netty-4.2.18.Final's commit message
[maven-release-plugin] copy for tag netty-4.2.18.Final

netty-4.1.138.Final

Toggle netty-4.1.138.Final's commit message
[maven-release-plugin] copy for tag netty-4.1.138.Final

netty-clang-bin

Toggle netty-clang-bin's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

netty-4.1.137.Final

Toggle netty-4.1.137.Final's commit message
[maven-release-plugin] copy for tag netty-4.1.137.Final

netty-4.2.17.Final

Toggle netty-4.2.17.Final's commit message
[maven-release-plugin] copy for tag netty-4.2.17.Final

netty-4.1.136.Final

Toggle netty-4.1.136.Final's commit message
[maven-release-plugin] copy for tag netty-4.1.136.Final