Deleted useles comment in responder.c
This commit is contained in:
parent
5db32eb990
commit
1762b5a272
1 changed files with 0 additions and 16 deletions
|
|
@ -23,9 +23,7 @@
|
|||
static void clean_exit(int status)
|
||||
{
|
||||
pyfcgi_IPC_close(IPC_WSTATE | IPC_WREQS | IPC_SEMST | IPC_SHMST);
|
||||
//temporarly destroy everything....
|
||||
pyfcgi_IPC_destroy(IPC_WSTATE | IPC_WREQS | IPC_SEMST | IPC_SHMST);
|
||||
//pyfcgi_IPC_destroy(IPC_WSTATE);
|
||||
exit(status);
|
||||
}
|
||||
|
||||
|
|
@ -54,25 +52,11 @@ void init_context()
|
|||
PyFCGI_conf.context.ppid = getppid();
|
||||
|
||||
if(pyfcgi_IPC_create(IPC_WSTATE | IPC_WREQS | IPC_SEMST) < 0)
|
||||
{
|
||||
pyfcgi_log(LOG_ALERT, "Pool handler process is unable to create WSTATE SEM");
|
||||
sleep(1);
|
||||
clean_exit(PYFCGI_FATAL);
|
||||
}
|
||||
/*
|
||||
if(pyfcgi_IPC_create(IPC_WSTATE) < 0)
|
||||
{
|
||||
pyfcgi_log(LOG_ALERT, "Pool handler process is unable to create WSTATE SEM");
|
||||
sleep(1);
|
||||
clean_exit(PYFCGI_FATAL);
|
||||
}
|
||||
if(pyfcgi_IPC_init(IPC_WREQS | IPC_SEMST) < 0)
|
||||
{
|
||||
pyfcgi_log(LOG_ALERT, "Pool handler process is unable to init IPC components");
|
||||
sleep(1);
|
||||
clean_exit(PYFCGI_FATAL);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
int responder_loop()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue