Skip to content

[BUG] Releasing of EID does not remove itself from subscribing sockets #3243

@ethouris

Description

@ethouris

The problem:

CEPoll::release removes the EID from polls, but that same EID might exist in the subscription containers in sockets or groups. This is not checked. It's not dangerous, as the invalid EID will be quickly detected, but this is data inconsistency.

This function, when released, should look over all subscription entries, find all sockets that are subscribed in this EID and forcefully remove this subscription, only then the EID can be deleted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugIndicates an unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions