Ignore SIGPIPE. This is safe, since it only raises, when the remote site died before we could send our paket back and is catched by write() returning -1

master
Dirk Engling 2007-01-10 16:42:39 +00:00
parent f5f4c3e2ce
commit 400c9a4d6f
1 changed files with 1 additions and 0 deletions

View File

@ -382,6 +382,7 @@ allparsed:
if (!io_fd(s))
panic("io_fd");
signal( SIGPIPE, SIG_IGN );
signal( SIGINT, graceful );
if( init_logic( serverdir ) == -1 )
panic("Logic not started");