Bug #10564 Updated: feof bug isn't fixed in windows versions.
| From: | sander@php.net | Date: | Wed, 14 Nov 2001 11:38:28 +0000 |
| Subject: | Bug #10564 Updated: feof bug isn't fixed in windows versions. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70426@lists.php.net to get a copy of this message | ||
ID: 10564
Updated by: sander
Reported By: tarik_rahmanovic@nai.com
Old Status: Feedback
Status: Closed
Bug Type: Filesystem function related
Operating System: win NT 4.0
PHP Version: 4.0.4pl1
New Comment:
No feedback. Closing.
Previous Comments:
------------------------------------------------------------------------
[2001-10-23 14:29:07] 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-04-30 13:26:45] tarik_rahmanovic@nai.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.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=10564&edit=1