Commit Diff
--- gotwebd/sockets.c +++ gotwebd/sockets.c @@ -105,6 +105,8 @@ sockets(struct gotwebd *env, int fd) event_set(&env->iev_parent->ev, fd, EV_READ, sockets_dispatch_main, env->iev_parent); event_add(&env->iev_parent->ev, NULL); + + signal(SIGPIPE, SIG_IGN); signal_set(&sighup, SIGCHLD, sockets_sighdlr, env); signal_add(&sighup, NULL);