Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zstd: Fix WriteTo error forwarding #411

Merged
merged 1 commit into from
Aug 2, 2021
Merged

Conversation

klauspost
Copy link
Owner

Fix error forwarding when writing the final block.

Fixes #408

Fix error forwarding when writing the final block.

Fixes #408
@klauspost klauspost merged commit af25d77 into master Aug 2, 2021
@klauspost klauspost deleted the zstd-fix-writeto-error branch August 2, 2021 13:25
mostynb added a commit to mostynb/zstdpool-syncpool that referenced this pull request Aug 8, 2021
This includes the following zstd improvements since v1.13.0:

* Add configurable Decoder window size
  klauspost/compress#394
* Add stream content size
  klauspost/compress#401
* Simplify hashing functions
  klauspost/compress#402
* use SpeedBestCompression for level >= 10
  klauspost/compress#410
* Fix WriteTo error forwarding
  klauspost/compress#411
* Improve Best compression
  klauspost/compress#404
mostynb added a commit to mostynb/zstdpool-syncpool that referenced this pull request Aug 8, 2021
This includes the following zstd improvements since v1.13.0:

* Add configurable Decoder window size
  klauspost/compress#394
* Add stream content size
  klauspost/compress#401
* Simplify hashing functions
  klauspost/compress#402
* use SpeedBestCompression for level >= 10
  klauspost/compress#410
* Fix WriteTo error forwarding
  klauspost/compress#411
* Improve Best compression
  klauspost/compress#404
mostynb added a commit to mostynb/go-grpc-compression that referenced this pull request Aug 8, 2021
This includes the following zstd improvements since v1.13.0:

* Add configurable Decoder window size
  klauspost/compress#394
* Add stream content size
  klauspost/compress#401
* Simplify hashing functions
  klauspost/compress#402
* use SpeedBestCompression for level >= 10
  klauspost/compress#410
* Fix WriteTo error forwarding
  klauspost/compress#411
* Improve Best compression
  klauspost/compress#404
mostynb added a commit to mostynb/go-grpc-compression that referenced this pull request Aug 8, 2021
This includes the following zstd improvements since v1.13.0:

* Add configurable Decoder window size
  klauspost/compress#394
* Add stream content size
  klauspost/compress#401
* Simplify hashing functions
  klauspost/compress#402
* use SpeedBestCompression for level >= 10
  klauspost/compress#410
* Fix WriteTo error forwarding
  klauspost/compress#411
* Improve Best compression
  klauspost/compress#404
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.

Write errors are not returned from WriteTo for short compressed files
1 participant