Project

General

Profile

Feature #112 ยป setsid.diff

patch against 1.3.13 -- cpisto - Anonymous, 2005-05-02 23:59

View differences:

spawn-fcgi.c 2005-05-02 17:57:43.000000000 -0600
119 119
			char cgi_childs[64];
120 120
			
121 121
			int i = 0;
122

  
123
            /* disconnect the controlling terminal */
124
            setsid();
122 125
			
123 126
			/* is save as we limit to 256 childs */
124 127
			sprintf(cgi_childs, "PHP_FCGI_CHILDREN=%d", child_count);
    (1-1/1)