commit 8def94257de0c243b087788186b73585ffc24f25 from: Omar Polo date: Thu Nov 16 23:06:22 2023 UTC gotwebd: ignore SIGPIPE in the sockets processes too commit - 58cdb97ce8d303a379c3c164bdfa61cb1524600f commit + 8def94257de0c243b087788186b73585ffc24f25 blob - dd100773cb3593bb4f04e31d024acf711bdc912e blob + a16821af966e854627051ef7d1ddb100a024c3d1 --- gotwebd/sockets.c +++ gotwebd/sockets.c @@ -106,6 +106,8 @@ sockets(struct gotwebd *env, int fd) 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); signal_set(&sigpipe, SIGCHLD, sockets_sighdlr, env);