php_bind = NULL;
}
- int iRequestsProcessed = 0;
int result;
- act.sa_flags = SA_NODEFER;
- act.sa_handler = lsapi_sigterm;
- sa_rc = sigaction( SIGINT, &act, &INT_act );
- sa_rc = sigaction( SIGQUIT, &act, &QUIT_act );
- sa_rc = sigaction( SIGILL, &act, &ILL_act );
- sa_rc = sigaction( SIGABRT, &act, &ABRT_act );
- sa_rc = sigaction( SIGBUS, &act, &BUS_act );
- sa_rc = sigaction( SIGSEGV, &act, &SEGV_act );
- sa_rc = sigaction( SIGTERM, &act, &TERM_act );
atexit(lsapi_atexit);
while( ( result = LSAPI_Prefork_Accept_r( &g_req )) >= 0 ) {