From: [EMAIL PROTECTED]
Operating system: winnt 4 sp 6
PHP version: 4.3.0
PHP Bug Type: Filesystem function related
Bug description: fopen('php://stdin') crash, running for more than 15 minutes
i tried the following script: (stdin.php)
<?php
$data=file('php://stdin');
var_dump($data);
echo 'ok';
?>
request for http://localhost/stdin.php :
no content at all has been sent under winnt (sp6, apache/2.0.43,
php/4.3.0), file 'tst.php' stayed opened for more than 15 minutes (i have
time limit 20 seconds) - (i restarted the server after this time...) and
request was marked as 'W' in apache status (sending reply).
apache -k restart has no effect (it won't stop any active conection...),
so i had to do
apache -k stop
apache was running, of, course, but the cpu activity raised ver
dramatically when multiple accesses to this script has been made...
i'm not sure whether this is a bug of apache or php, but under mandrake
linux + apache/2.0.43 + php/4.3.0 this works fine...
j
--
Edit bug report at http://bugs.php.net/?id=21943&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21943&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21943&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21943&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21943&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21943&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21943&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21943&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21943&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21943&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21943&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21943&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21943&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21943&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21943&r=gnused