|
|
|
@ -84,20 +84,22 @@ int main( int argc, char* argv[] )
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int inbox_handler_pid = -1;
|
|
|
|
|
|
|
|
|
|
// Process inbox
|
|
|
|
|
int inbox_handler_pid = -1;
|
|
|
|
|
if( !( inbox_handler_pid = fork() ) ) {
|
|
|
|
|
prctl(PR_SET_PDEATHSIG, SIGHUP);
|
|
|
|
|
process_inbox();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
//*
|
|
|
|
|
// Process outbox
|
|
|
|
|
if( !( inbox_handler_pid = fork() ) ) {
|
|
|
|
|
int outbox_handler_pid = -1;
|
|
|
|
|
if( !( outbox_handler_pid = fork() ) ) {
|
|
|
|
|
prctl(PR_SET_PDEATHSIG, SIGHUP);
|
|
|
|
|
process_outbox();
|
|
|
|
|
}*/
|
|
|
|
|
}
|
|
|
|
|
//*/
|
|
|
|
|
|
|
|
|
|
int code = 0;
|
|
|
|
|
if( !run_webserver(args) ) { code = 1; }
|
|
|
|
|