aboutsummaryrefslogtreecommitdiff
path: root/core/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/server.c')
-rw-r--r--core/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/server.c b/core/server.c
index 292c3d9..2c52ea4 100644
--- a/core/server.c
+++ b/core/server.c
@@ -303,6 +303,7 @@ int main(void) {
signal(SIGINT, sig_handler);
signal(SIGTERM, sig_handler);
+ signal(SIGPIPE, SIG_IGN); // ignore broken pipes
log_info("Creating response header");
g_response_header = json_object_new_object();