Skip to content

Fix issue with the decompressor truncating the output in some cases.#3

Open
spencercw wants to merge 1 commit intodanielrh:masterfrom
spencercw:master
Open

Fix issue with the decompressor truncating the output in some cases.#3
spencercw wants to merge 1 commit intodanielrh:masterfrom
spencercw:master

Conversation

@spencercw
Copy link

If the source reader returns EOF along with the final data block, instead of returning EOF on the read after the final block then that EOF was getting passed through to the caller immediately. If there was still decompressed data that hadn't been read yet then this would result in the decompressed output being truncated.

If the source reader returns EOF along with the final data block,
instead of returning EOF on the read *after* the final block then that
EOF was getting passed through to the caller immediately. If there was
still decompressed data that hadn't been read yet then this would result
in the decompressed output being truncated.
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