Skip to content

remove websocket from fd_set when we know changes are pending #211

@briot

Description

@briot

When I wrote a server (not based on AWS), I was also ensuring that sockets for which we got a notification in epoll() were removed from the FD_Set until we had actually read or written everything to/from it. Otherwise, that socket keeps popping up in epoll which is inefficient. Is something like this necessary here (perhaps a new Issue, though)

Originally posted by @briot in #209 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions