Skip to content

UNIX FD leaks #162

Open
Open
@gollux

Description

@gollux

When negotiate_unix_fds is enabled on the MessageBus, the library starts leaking file descriptors.

This happens for example when an unhandled message is received, or if the message is handled by any of the builtin handlers which are not aware of file descriptor passing. The only way to avoid the leaks seems to be installing a custom message handler, which handles messages that need file descriptors, and close all file descriptors in message.unix_fds otherwise, so that they never get to the default handlers.

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