-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* correct multistream decompression EOF handling (fix #61) when the input buffer has an end-of-stream marker right at the beginning, decompress() will return StreamEnd and total_in will not advance. We cannot return Ok(read) as this would signal EOF. Instead, we rely on the next loop iteration to really return EOF when the input buffer did not fill again. * add regression test for issue #61 * fix formatting
- Loading branch information
Showing
3 changed files
with
43 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.