Skip to content

NIOAsyncChannel can hit an assertion failure in NIOAsyncWriter if the listening channel closes while activating an accepted connection #2813

@glbrntt

Description

@glbrntt

If the listening channel is shutting down then accepted connections which haven't yet been referenced by the caller will be dropped. If the as-yet-unreferenced accepted connections have been activated (channelActive) has fired the channel will drop its ref to the outbound writer. As the ref count drops to zero we'll the assertion failure in NIOAsyncWriter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions