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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
44 - 16 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Tue Apr 16 21:01:28 2024 UTC