Browse Source

Deleted useles comment in responder.c

Yann Weber 4 years ago
parent
commit
1762b5a272
1 changed files with 0 additions and 16 deletions
  1. 0
    16
      src/responder.c

+ 0
- 16
src/responder.c View File

23
 static void clean_exit(int status)
23
 static void clean_exit(int status)
24
 {
24
 {
25
 	pyfcgi_IPC_close(IPC_WSTATE | IPC_WREQS | IPC_SEMST | IPC_SHMST);
25
 	pyfcgi_IPC_close(IPC_WSTATE | IPC_WREQS | IPC_SEMST | IPC_SHMST);
26
-	//temporarly destroy everything....
27
 	pyfcgi_IPC_destroy(IPC_WSTATE | IPC_WREQS | IPC_SEMST | IPC_SHMST);
26
 	pyfcgi_IPC_destroy(IPC_WSTATE | IPC_WREQS | IPC_SEMST | IPC_SHMST);
28
-	//pyfcgi_IPC_destroy(IPC_WSTATE);
29
 	exit(status);
27
 	exit(status);
30
 }
28
 }
31
 
29
 
54
 	PyFCGI_conf.context.ppid = getppid();
52
 	PyFCGI_conf.context.ppid = getppid();
55
 
53
 
56
 	if(pyfcgi_IPC_create(IPC_WSTATE | IPC_WREQS | IPC_SEMST) < 0)
54
 	if(pyfcgi_IPC_create(IPC_WSTATE | IPC_WREQS | IPC_SEMST) < 0)
57
-	{
58
-		pyfcgi_log(LOG_ALERT, "Pool handler process is unable to create WSTATE SEM");
59
-		sleep(1);
60
-		clean_exit(PYFCGI_FATAL);
61
-	}
62
-	/*
63
-	if(pyfcgi_IPC_create(IPC_WSTATE) < 0)
64
-	{
65
-		pyfcgi_log(LOG_ALERT, "Pool handler process is unable to create WSTATE SEM");
66
-		sleep(1);
67
-		clean_exit(PYFCGI_FATAL);
68
-	}
69
-	if(pyfcgi_IPC_init(IPC_WREQS | IPC_SEMST) < 0)
70
 	{
55
 	{
71
 		pyfcgi_log(LOG_ALERT, "Pool handler process is unable to init IPC components");
56
 		pyfcgi_log(LOG_ALERT, "Pool handler process is unable to init IPC components");
72
 		sleep(1);
57
 		sleep(1);
73
 		clean_exit(PYFCGI_FATAL);
58
 		clean_exit(PYFCGI_FATAL);
74
 	}
59
 	}
75
-	*/
76
 }
60
 }
77
 
61
 
78
 int responder_loop()
62
 int responder_loop()

Loading…
Cancel
Save