Skip to content

Conversation

@arturobernalg
Copy link
Member

Adds transparent zstd response decoding via ContentCompressionAsyncExec (InflatingZstdDataConsumer).
Provides DeflatingZstdEntityProducer for streaming request compression.
Examples: AsyncClientServerZstdExample + AsyncClientZstdCompressionExample;

@arturobernalg arturobernalg requested a review from ok2c August 10, 2025 13:14
*/
private final ZstdDirectBufferCompressingStream zstream;

private volatile boolean upstreamEnded = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initializing to default values creates clutter IMO.

@arturobernalg arturobernalg force-pushed the aasync-transparent-content-decompression-zstd branch from d9ec312 to d872969 Compare August 11, 2025 17:26
@arturobernalg arturobernalg requested a review from ok2c August 11, 2025 18:18
@arturobernalg arturobernalg force-pushed the aasync-transparent-content-decompression-zstd branch 3 times, most recently from 2f61f39 to 4fef0bb Compare August 14, 2025 11:11
@arturobernalg arturobernalg force-pushed the aasync-transparent-content-decompression-zstd branch from 1d8266f to 7ade7d7 Compare August 15, 2025 17:39
@arturobernalg
Copy link
Member Author

@ok2c please do another pass.

@arturobernalg arturobernalg requested a review from ok2c August 15, 2025 17:40
pom.xml Outdated
<groupId>com.github.luben</groupId>
<artifactId>zstd-jni</artifactId>
<version>${zstd.jni.version}</version>
<optional>true</optional>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arturobernalg This is unnecessary in the dependency management section.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed.

Wire InflatingZstdDataConsumer; add DeflatingZstdEntityProducer for streaming requests
@arturobernalg arturobernalg force-pushed the aasync-transparent-content-decompression-zstd branch from 26fe12f to 2d8d387 Compare August 18, 2025 17:34
@arturobernalg arturobernalg merged commit 72a00a0 into apache:master Aug 18, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants