php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21943 fopen('php://stdin') crash, running for more than 15 minutes
Submitted: 2003-01-29 08:23 UTC Modified: 2003-02-20 08:04 UTC
From: php at jkt dot wz dot cz Assigned:
Status: No Feedback Package: Filesystem function related
PHP Version: 4.3.0 OS: winnt 4 sp 6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
18 + 37 = ?
Subscribe to this entry?

 
 [2003-01-29 08:23 UTC] php at jkt dot wz dot cz
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-20 08:04 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Dec 16 07:01:27 2019 UTC