Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix partial flush on flush_or_close()
BROTLI_OPERATION_FLUSH must be re-tried until no more data is available as input and internal buffers are empty (this can take more than one call). Otherwise, the writer is left in a "flushing" state which will make further writes fail.
- Loading branch information