Skip to content

epoll_wait is not interruptable #5406

Description

@micheleselea

If you have a http keepalive connetion (for example 60 seconds timeout) and you close your application, even if stopAll (true) httpserver close connection the hasMoreRequests() will remain in waiting on epoll_wait

I remember that on windows the only way to terminate epoll_wait was to use
PostQueuedCompletionStatus(epollfd, 0, 0, NULL);

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