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

fix(tokio): attempt to decode from internal state even if nothing was read #294

Merged

Commits on Oct 9, 2024

  1. fix(tokio): attempt to decode from internal state even if nothing was…

    … read
    
    Unlike zlib, miniz_oxide consumes data into internal state
    even if there is not enough space in the output buffer.
    Next time poll_fill_buf() is called we should try
    to decode from internal state even if no new compressed data
    was read.
    
    This change is a port of fix
    <Nullus157#123>
    (commit Nullus157@22ed0ac)
    from `futures` to `tokio`.
    link2xt committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    ed83d67 View commit details
    Browse the repository at this point in the history