Skip to content

Coroutine awakened on failed connect, but error status not propagated (connect appears successful) #93

Description

@resetius

When attempting to connect to a port where no server is listening, the poller (e.g., kqueue) returns an error event (such as EV_EOF). However, the coroutine waiting for the connect is resumed without propagating the error status. As a result, the coroutine incorrectly assumes that the connection was established successfully, even though the connect actually failed. The error from the poller should be checked and properly reported to the coroutine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions