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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php at jkt dot wz dot cz
New email:
PHP Version: OS:

 

 [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-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC