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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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: Thu Dec 26 10:01:29 2024 UTC