Skip to content

Akka.Streams.IO TcpStage deadlocks on server binding #3498

@Horusiath

Description

@Horusiath

It turned out, that in some cases TCP stage from Akka.Streams can hang infinitely - this is related to the fact that TaskCompletionSource<T>.TrySetResult and family is blocking operation which causes this line to deadlock and never end, effectively blocking TCP server from accepting new connections.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions