Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes window size max for Dictionary-Compressed Zstandard
The spec of Compression Dictionary Transport has changed to allow larger window size for Dictionary-Compressed Zstandard. httpwg/http-extensions#2754 So this CL changes the window_log_max in ZstdSourceStream to follow the spec change. Before this CL: window size = max(8MB, dictionary size) After this CL: window size = clamp(dictionary size * 1.25, 8MB, 128MB) Bug: 1413922, 1479809 Change-Id: I28853afd8e61107c3d1df3a3eb3f72d99b6fa796 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5561364 Reviewed-by: Adam Rice <[email protected]> Commit-Queue: Tsuyoshi Horo <[email protected]> Cr-Commit-Position: refs/heads/main@{#1304911}
- Loading branch information