async-compression icon indicating copy to clipboard operation
async-compression copied to clipboard

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

Open aatifsyed opened this issue 1 year ago • 0 comments

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

aatifsyed avatar Oct 31 '24 16:10 aatifsyed