diff options
Diffstat (limited to 'eperd/eooqd.c')
-rw-r--r-- | eperd/eooqd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eperd/eooqd.c b/eperd/eooqd.c index 8c11f62..8f94614 100644 --- a/eperd/eooqd.c +++ b/eperd/eooqd.c @@ -185,6 +185,9 @@ int eooqd_main(int argc, char *argv[]) limit.rlim_max= RLIM_INFINITY; setrlimit(RLIMIT_CORE, &limit); + /* Ignore SIGPIPE, broken TCP sessions may trigger them */ + signal(SIGPIPE, SIG_IGN); + /* Create libevent event base */ EventBase= event_base_new(); if (!EventBase) |