[php-maint] Bug#431799: Bug#431799: php5-cgi: PHP fastcgi with PHP_FCGI_CHILDREN doesn't kill children when parent is killed

Ondřej Surý ondrej at sury.org
Wed Aug 22 07:10:11 UTC 2007


Raphael Geissert píše v St 04. 07. 2007 v 18:31 -0500:
> At the end of the PHP bug report there's a patch.

I don't believe that attached patch fixes that particular problem.
It only eliminates one extra pointer to memory, which is only cosmetics
change to code and not any change in functionality.

Correct fix would be to use non-blocking IO.  Or use select(2) on that
descriptor to not block when no data is available.

But of course I could be wrong and this is The Right Fix(tm).

Ondrej
-- 
Ondřej Surý <ondrej at sury.org>  ***  http://blog.rfc1925.org/
Kulturní občasník              ***  http://www.obcasnik.cz/
Nehoupat, prosím               ***  http://nehoupat.blogspot.com/






More information about the pkg-php-maint mailing list