|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13956 improve robustness against bad signal(2) et al. calls from third party libs
Submitted: 2001-11-06 12:56 UTC Modified: 2002-08-17 02:18 UTC
From: Enrik dot Berkhan at planb dot de Assigned:
Status: Closed Package: Apache related
PHP Version: 4.1.0RC1 OS: any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: Enrik dot Berkhan at planb dot de
New email:
PHP Version: OS:


 [2001-11-06 12:56 UTC] Enrik dot Berkhan at planb dot de
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 ...



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-17 02:18 UTC]
I believe a lot of this has been delt with while using the new php streams code.  Do try a current non-stable cvs snapshot and see if thi see if this still continues for you.  

Marking as closed.  If I'm wrong, you're welcome to reopen the bug.  
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 12 11:01:32 2024 UTC