kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 4dff38ebb015a703b261b7cc65119d8bf76b7a98
parent c22eebb6d958350f52be19d2c13cabf678660815
Author: Joris Vink <joris@coders.se>
Date:   Wed, 19 Jun 2013 22:41:00 +0200

ignore sigpipe in workers

Diffstat:
src/kore.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/kore.c b/src/kore.c @@ -377,6 +377,7 @@ kore_worker_entry(struct kore_worker *kw) sig_recv = 0; signal(SIGHUP, kore_signal); signal(SIGQUIT, kore_signal); + signal(SIGPIPE, SIG_IGN); http_init(); TAILQ_INIT(&disconnected);