Skip to content

TCP listener should use select() for waiting for a new client #37

@loganek

Description

@loganek

Currently in TCPListener we use accept() function to accept new connections. However, this function is blocking, and can't be interrupted, therefore test ApplicationShouldNotCrashWhenCreatingListenerFails hangs on mac os. If we rewrite tcp listener so it uses multiplexers (select()) we can use pipes to unblock the thread.

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