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 mixed Write and ReadFrom calls #282

Merged
merged 1 commit into from
Sep 1, 2020
Merged

Conversation

klauspost
Copy link
Owner

@klauspost klauspost commented Sep 1, 2020

Flush any pending writes when ReadFrom is used.

This fixes the race with the Write content as well.

Flush any pending writes when ReadFrom is used.
@klauspost klauspost changed the title Fix mixed Write and ReadFrom calls zstd: Fix mixed Write and ReadFrom calls Sep 1, 2020
@klauspost klauspost merged commit c0f3c32 into master Sep 1, 2020
@klauspost klauspost deleted the fix-interleaved-writes branch September 1, 2020 10:26
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.

1 participant