Ignore the SIGPIPE
[src/app-framework-binder.git] / src / main.c
index 28b452c..5871d12 100644 (file)
@@ -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)