Fixed bug #40414 (possivle endless fork() loop when running fastcgi)

This commit is contained in:
Dmitry Stogov 2007-02-15 12:33:54 +00:00
parent 5ebba1b2f6
commit d57b78aab1
3 changed files with 10 additions and 0 deletions

View file

@ -1338,6 +1338,10 @@ consult the installation file that came with this distribution, or visit \n\
exit(1);
}
if (fcgi_in_shutdown()) {
exit(0);
}
while (parent) {
do {
#ifdef DEBUG_FASTCGI