#45785 [Opn->Bgs]: Configurable timeout on XMLReader->open()
| From: | pajoye@php.net | Date: | Fri, 10 Jul 2009 11:31:50 +0000 |
| Subject: | #45785 [Opn->Bgs]: Configurable timeout on XMLReader->open() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-139572@lists.php.net to get a copy of this message | ||
ID: 45785
Updated by: pajoye@php.net
Reported By: bugzilla-php at roosnl dot com
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 5.2.6
New Comment:
All XML extensions use the PHP streams. You can define a shorter
timeout using php.ini. Not a bug > bogus.
Previous Comments:
------------------------------------------------------------------------
[2009-07-10 10:52:40] nick at ihighteam dot com
For me, this has caused a partial site outage on a big project where
multiple Apache processes are hung up on PHP waiting to open a remote
XML feed that happens to be inaccessible.
------------------------------------------------------------------------
[2008-08-11 11:38:18] bugzilla-php at roosnl dot com
Description:
------------
The Open function of the XMLReader object does not seem to have a
configurable timeout. This means that my PHP app seems to 'hang' for 30
seconds while connecting to an external xml source that has an outage.
It would be good if it had a configurable timeout so I can set that to a
low number, like for example the curl functions or
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45785&edit=1