]> Cypherpunks.ru repositories - gostls13.git/commit
internal/zstd: configure window size for single segment frames
authorAlexander Yastrebov <yastrebov.alex@gmail.com>
Wed, 27 Sep 2023 01:53:38 +0000 (01:53 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 27 Sep 2023 14:35:13 +0000 (14:35 +0000)
commit4a310877f23140b45bd86a45b8c1fc7d69ba2d29
tree92f1979d70adc41b156fd5796db45cb11a2c22ee
parent48042aa09c2f878c4faa576948b07fe625c4707a
internal/zstd: configure window size for single segment frames

Set window size to frame content size when single segment flag is set.

For #62513

Change-Id: I2a60c33123aca4f6a631e6d625f4582ff31a63cb
GitHub-Last-Rev: 9bafe01e45aad6a9f22abca08b25b2b8d9107040
GitHub-Pull-Request: golang/go#63224
Reviewed-on: https://go-review.googlesource.com/c/go/+/531075
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/internal/zstd/testdata/1890a371.gettysburg.txt-100x.zst [new file with mode: 0644]
src/internal/zstd/testdata/README [new file with mode: 0644]
src/internal/zstd/zstd.go
src/internal/zstd/zstd_test.go