1
0
mirror of https://github.com/lxsang/ant-http synced 2024-07-01 12:59:47 +02:00

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);