Skip to content

Spring-RSocket: potential server file descriptors exhaustion with idle connections #27373

@mostroverkhov

Description

@mostroverkhov

Spring-RSocket server accepts idle connections that never send anything, then stay forever because initial frame is not received
and server seemingly lacks timeout for handshake.

Bad clients may open arbitrary number of idle connections that exhaust server's available file descriptors, make It unable to accept further connections.

With reproducer on 2.5.4 client opens 10k idle connections that are never timed out by server.

./server.sh , idle_connections.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions