Bug #10564: feof bug isn't fixed in windows versions.
| From: | tarik_rahmanovic at nai dot com | Date: | Mon, 30 Apr 2001 17:26:46 +0000 |
| Subject: | Bug #10564: feof bug isn't fixed in windows versions. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53103@lists.php.net to get a copy of this message | ||
From: tarik_rahmanovic@nai.com
Operating system: win NT 4.0
PHP version: 4.0.4pl1
PHP Bug Type: *Function Specific
Bug description: feof bug isn't fixed in windows versions.
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 Bug report at: http://bugs.php.net/?id=10564&edit=1