Browse Source

ignore SIGPIPE

ps 9 years ago
parent
commit
c3d00e50f6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/hermes.cpp

+ 1 - 0
src/hermes.cpp

@@ -120,6 +120,7 @@ main
   signal(SIGTERM,exit_requested);
   signal(SIGINT,exit_requested);
   signal(SIGCHLD,SIG_IGN);
+  signal(SIGPIPE,SIG_IGN);
 
   //we have to create the server socket BEFORE chrooting, because if we don't,
   //SSL cannot initialize because it's missing libz