Skip to content

Fix zstd multi-frame decompression failure (#2716)#2717

Merged
dpkp merged 1 commit intodpkp:masterfrom
Andrewtangtang:fix/zstd-multi-frame-decompression
Feb 25, 2026
Merged

Fix zstd multi-frame decompression failure (#2716)#2717
dpkp merged 1 commit intodpkp:masterfrom
Andrewtangtang:fix/zstd-multi-frame-decompression

Conversation

@Andrewtangtang
Copy link
Contributor

Summary

Use stream_reader(read_across_frames=True) instead of one-shot decompress() in zstd_decode(), so that payloads with multiple concatenated zstd frames are decoded correctly.

Related Issues

Fixes #2716

Use stream_reader(read_across_frames=True) instead of one-shot
decompress() so that payloads with multiple concatenated zstd
frames are decoded correctly.
@Andrewtangtang
Copy link
Contributor Author

@dpkp Could you please take a look at this PR?

Copy link
Owner

@dpkp dpkp left a comment

Choose a reason for hiding this comment

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

Thanks!

@dpkp dpkp merged commit 949a0c7 into dpkp:master Feb 25, 2026
19 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.

[Bug] Zstandard multi-frame decompression failure

2 participants