Skip to content

UNIX FD leaks #162

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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