From befdaa92d2c6ea36d6c3900b3882e7bf89934fb6 Mon Sep 17 00:00:00 2001 From: Bjørn Mork Date: Sat, 4 Mar 2017 21:06:10 +0100 Subject: ripe-atlas-fw: imported version 4760 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bjørn Mork --- eperd/eooqd.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'eperd/eooqd.c') 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) -- cgit v1.2.3