#24080 [Opn->Bgs]: fputs uses 100% cpu on broken pipe
ID: 24080
Updated by: wez@php.net
Reported By: info at virtualhost dot nl
-Status: Open
+Status: Bogus
Bug Type: URL related
Operating System: Freebsd 4.8
PHP Version: 4.3.1
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
.
Previous Comments:
------------------------------------------------------------------------
[2003-06-08 07:04:17] info at virtualhost dot nl
hello,
When executing the following code, the httpd deamon consumes all cpu
available, which should not happen of course. It's stops when the
timeout of the script is reached and the process is deleted.
<?
$sk = fsockopen ('211.6.149.130', 80);
if ($sk) {
fputs ($sk, "GET /blalbla HTTP/1.0\n\n");
}
?>
btw. When requested with curl it says directly 'broken pipe'.
btw2. Same for fwrite.
regards,
Jeroen
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24080&edit=1
Thread (7 messages)