From 1762b5a272dbae2f04b8471bd44615a65d17ef0c Mon Sep 17 00:00:00 2001 From: Yann Weber Date: Sat, 10 Aug 2019 02:40:04 +0200 Subject: [PATCH] Deleted useles comment in responder.c --- src/responder.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/responder.c b/src/responder.c index 3b1567f..4542fbe 100644 --- a/src/responder.c +++ b/src/responder.c @@ -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()