Skip to content

SIGPIPE handling #21

@leahneukirchen

Description

@leahneukirchen

Mairix currently dies on SIGPIPE, which results in locked mailboxes when used in a pipe ala
mairix -r foo | head -10.

Easy mitigation is using signal(SIGPIPE, SIG_IGN);, even better would be to check the printf calls and exit early then when they fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions