Because it's now redundant.
As discovered in #49, SIGPIPE is total bullshit in all circumstances, no
exceptions, so there's now a global SIGPIPE SIG_IGN override, rendering
this one useless.
I guess we now know why #49 never triggered on server mode.
#include <errno.h>
#include <fcntl.h>
#include <netdb.h>
-#include <signal.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
start_server_thread(void)
{
struct fd_node *node;
- struct sigaction ign;
int error;
- /* Ignore SIGPIPES, they're handled apart */
- ign.sa_handler = SIG_IGN;
- ign.sa_flags = 0;
- sigemptyset(&ign.sa_mask);
- sigaction(SIGPIPE, &ign, NULL);
-
SLIST_FOREACH(node, &fds, next) {
error = listen(node->id, config_get_server_queue());
if (error)