php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10564 feof bug isn't fixed in windows versions.
Submitted: 2001-04-30 13:26 UTC Modified: 2001-11-14 06:38 UTC
From: tarik_rahmanovic at nai dot com Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.0.4pl1 OS: win NT 4.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tarik_rahmanovic at nai dot com
New email:
PHP Version: OS:

 

 [2001-04-30 13:26 UTC] tarik_rahmanovic at nai dot com
    while (!feof($sock)) {
        echo fgets ($sock, 128);
    }
    fclose ($sock);


This hangs forever, even though remote end closes connection
within 120 miliseconds.  this is a known bug (discussed on the list), but the fix apperently didn't make it into the prepackaged windows release.  Please do let me know when this is fixed, for i need it more than i need cocaine (and i really really need cocaine) thank you.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-23 14:29 UTC] sander@php.net
Can you try the latest version (4.0.6) or a dev-version (from http://208.44.124.20/php-dev-win/)
 [2001-11-14 06:38 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 15:01:29 2024 UTC