php.net |  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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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 ...

Enrik

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-17 02:18 UTC] kalowsky@php.net
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 Dec 13 09:01:28 2024 UTC