ID:               33483
 User updated by:  bong at icasolution dot com dot au
 Reported By:      bong at icasolution dot com dot au
 Status:           Open
 Bug Type:         HTTP related
 Operating System: Linux Ubuntu (Hoary Hedgehog)
 PHP Version:      4.3.10
 New Comment:

Sorry, forgot to mention that the URL for testing needs to be updated
as it expires after some days. The URL is date-based so get a valid
page for 30 June 2005, the URL would be:

http://www.tabonline.com.au/2005/06/30/QR04.html

and for 1 July 2005, it would be:

http://www.tabonline.com.au/2005/07/01/QR04.html

and so on.


Previous Comments:
------------------------------------------------------------------------

[2005-06-30 08:41:09] bong at icasolution dot com dot au

Tried the CVS snapshot (php4-STABLE-200506300435) on my Fedora Core 3
system and had the same problem (took about 30 seconds to download the
page). Tried the same script on a FreeBSD 5.4 box and had no delays.

I think this delay occurs with Linux 2.6 kernels.

------------------------------------------------------------------------

[2005-06-27 10:52:07] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[2005-06-27 04:13:35] bong at icasolution dot com dot au

Description:
------------
When retrieving a web page using file() from, say,
http://www.tabonline.com.au, there is a delay of several seconds before
the page is actually retrieved. This happens under Ubuntu (Hoary
Hedgehog, using PHP 4.3.10) and also Fedora Core 3 (PHP 5.0.4). I don't
get the delay under Fedora Core 1 (PHP 4.3.8) or Red Hat 7.3. (PHP
4.3.9).

Reproduce code:
---------------
<?php

$file = file("http://www.tabonline.com.au/2005/06/24/QR04.html";);
print_r($file);

?>


Expected result:
----------------
HTML of the retrieved page, which I get, but not before a delay of
several seconds.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33483&edit=1

Reply via email to