Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Ignore the SIGPIPE
[src/app-framework-binder.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
28b452c
..
5871d12
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-678,6
+678,9
@@
int main(int argc, char *argv[]) {
INFO("entering foreground mode");
}
+ /* ignore any SIGPIPE */
+ signal(SIGPIPE, SIG_IGN);
+
/* start the HTTP server */
hsrv = start_http_server(config);
if (hsrv == NULL)