Bug #13956: improve robustness against bad signal(2) et al. calls from third party libs
| From: | Enrik dot Berkhan at planb dot de | Date: | Tue, 06 Nov 2001 17:56:18 +0000 |
| Subject: | Bug #13956: improve robustness against bad signal(2) et al. calls from third party libs | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-69708@lists.php.net to get a copy of this message | ||
From: Enrik.Berkhan@planb.de
Operating system: any
PHP version: 4.1.0RC1
PHP Bug Type: Apache related
Bug description: improve robustness against bad signal(2) et al. calls from third party libs
This is not a real php bug. This is a "Apache related feature request".
Now, I've spent a hole day tracking down some apache childs not timing out
when keep-alive enabled. It showed up that apache's somewhat poor timeout
handling got struck by libcurl used via php that redefines the handler for
SIGALRM without restoring it afterwards, when setting a curl timeout.
php could help apache by saving and restoring the handler for SIGALRM on
entry/exit of a php script. Who knows what other non-well-behaved libraries
do live there in outer space ...
Enrik
--
Edit bug report at: http://bugs.php.net/?id=13956&edit=1