#44009 [Opn->Fbk]: fopen hangs with recent upgrade
| From: | jani@php.net | Date: | Wed, 13 Feb 2008 18:30:16 +0000 |
| Subject: | #44009 [Opn->Fbk]: fopen hangs with recent upgrade | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-122234@lists.php.net to get a copy of this message | ||
ID: 44009
Updated by: jani@php.net
Reported By: brandonkahre at charter dot net
-Status: Open
+Status: Feedback
Bug Type: HTTP related
Operating System: Windows
PHP Version: 5.2.5
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
Previous Comments:
------------------------------------------------------------------------
[2008-02-01 00:34:53] brandonkahre at charter dot net
Description:
------------
When opening a file using fopen and a network wrapper (HTTP), the page
will lag before finishing. The response from fopen is fast (determined
by echo'ing the return, and any code that is to be processed after the
fopen function is processed without delay. It is only when the page is
ready to finish loading that the lag becomes noticeable. The lag takes
3-6 seconds and does not seem to be affected by any timeout settings in
the php.ini file.
This problem does not exist in PHP 5.1.2, and started immediately after
upgrading to PHP 5.2.4 and 5.2.5. This problem also seems to only exist
on my Windows server.
Reproduce code:
---------------
<?php
echo (file_get_contents("http://www.google.com"));
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44009&edit=1