Ignore sigabort

This commit is contained in:
LE Xuan Sang 2015-10-22 13:31:35 +02:00
parent cda7b31b4a
commit 9edeed5ffa

View File

@ -80,7 +80,7 @@ int main(int argc, char* argv[])
// ignore the broken PIPE error when writing
//or reading to/from a closed socked connection
signal(SIGPIPE, SIG_IGN);
signal(SIGABRT, SIG_IGN);
server_sock = startup(&port);
LOG("httpd running on port %d\n", port);