mirror of
https://github.com/lxsang/ant-http
synced 2025-04-11 22:16:44 +02:00
Ignore sigabort
This commit is contained in:
parent
cda7b31b4a
commit
9edeed5ffa
2
httpd.c
2
httpd.c
@ -80,7 +80,7 @@ int main(int argc, char* argv[])
|
|||||||
// ignore the broken PIPE error when writing
|
// ignore the broken PIPE error when writing
|
||||||
//or reading to/from a closed socked connection
|
//or reading to/from a closed socked connection
|
||||||
signal(SIGPIPE, SIG_IGN);
|
signal(SIGPIPE, SIG_IGN);
|
||||||
|
signal(SIGABRT, SIG_IGN);
|
||||||
server_sock = startup(&port);
|
server_sock = startup(&port);
|
||||||
LOG("httpd running on port %d\n", port);
|
LOG("httpd running on port %d\n", port);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user