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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2023 The PHP Group
All rights reserved.
Last updated: Wed Feb 01 06:05:54 2023 UTC