Nullus157 / Nullus157/async-compression

`Encoder` does not follow the `tokio::io::AsyncWrite` protocol

Open
#308 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
666
Forks
118
Avg merge
17h 18m
Merged PRs (30d)
9

Description

Until Encoder returns Poll::Ready from poll_shutdown, it should expect calls to poll_flush and poll_shutdown any number of times, and not return an error.

This is the same as https://github.com/Nullus157/async-compression/issues/246

Test case available at #309

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.