Skip to content

Encoder does not follow the tokio::io::AsyncWrite protocol #308

Open
@aatifsyed

Description

@aatifsyed

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 #246

Test case available at #309

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions