diff options
author | techknowlogick <techknowlogick@gitea.io> | 2020-08-27 22:47:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-27 22:47:17 -0400 |
commit | c5d5d63c9cb28b45d936c937388a3668523857a3 (patch) | |
tree | 86f2a89c89c1a9f9a9dcd5e225d512caedb26923 /vendor/github.com/klauspost/compress/zstd/snappy.go | |
parent | 211321fb936683815c4033fdfb9ac46af8a3b357 (diff) | |
download | gitea-c5d5d63c9cb28b45d936c937388a3668523857a3.tar.gz gitea-c5d5d63c9cb28b45d936c937388a3668523857a3.zip |
Macaron 1.5 (#12596)
* update macaron to v1.5 of fork
* update macaron to v1.5 of fork
* test gzip PR
* add push method impl to context_tests
* use proper gzip commit
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'vendor/github.com/klauspost/compress/zstd/snappy.go')
-rw-r--r-- | vendor/github.com/klauspost/compress/zstd/snappy.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/klauspost/compress/zstd/snappy.go b/vendor/github.com/klauspost/compress/zstd/snappy.go index 356956ba25..690428cd24 100644 --- a/vendor/github.com/klauspost/compress/zstd/snappy.go +++ b/vendor/github.com/klauspost/compress/zstd/snappy.go @@ -178,7 +178,7 @@ func (r *SnappyConverter) Convert(in io.Reader, w io.Writer) (int64, error) { r.err = ErrSnappyCorrupt return written, r.err } - err = r.block.encode(false) + err = r.block.encode(false, false) switch err { case errIncompressible: r.block.popOffsets() |