mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
BrotliDecompressBufferStreaming (/ BrotliDecompressStream) setting available_in to 1 #78
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mbevin on GitHub (Dec 21, 2015).
Using brotli from master, sometime when I call BrotliDecompressBufferStreaming (/ BrotliDecompressStream), it sets available_in to 1. This is happening while the result code is BROTLI_RESULT_SUCCESS, so according to the documentation comment, this shouldn't be possible., and it's not clear if+how I should deal with this, since it appears to be a bug I'm guessing I can't make any assumptions as to there being any way to recover from this?
This didn't occur with a month-or-so older master brotli, but that had other issues (BrotliDecompressBufferStreaming always returning huge 4mb chunk sizes)
@eustas commented on GitHub (Dec 21, 2015):
Going to check/fix it soon. And update documentation as well.
@eustas commented on GitHub (Jun 17, 2016):
Can not reproduce.
Could you attach sample compressed file, please?