async-compression
async-compression copied to clipboard
fix: Encoder state machine tolerates being wrapped by an `AsyncWrite`
Simplified the Encoder state machine.
It should now handle poll_flush calls after poll_shutdown calls.
Closes #308 See also #246
Thanks!
You are right, poll_shutdown should indeed call self.poll_flush before calling inner.poll_shutdown
Thanks!
You are right, poll_shutdown should indeed call self.poll_flush before calling inner.poll_shutdown
What's the level of enthusiasm on this PR?
What's the level of enthusiasm on this PR?
I can continue review once the feedback has been addressed