Bug #14224: fgets(), fgetc() stalls
| From: | mike at hbhosting dot com | Date: | Mon, 26 Nov 2001 09:40:05 +0000 |
| Subject: | Bug #14224: fgets(), fgetc() stalls | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-71633@lists.php.net to get a copy of this message | ||
From: mike@hbhosting.com
Operating system: FreeBSD 4.3
PHP version: 4.0.6
PHP Bug Type: Sockets related
Bug description: fgets(), fgetc() stalls
I'm using fsockopen() to connect to a mail server and retrieve messages.
When retrieving the data, sometimes fgets() or fgetc() (tried both) will
stall completely, and there is valid data being sent. It doesn't seem to
have any timeout (I let it run for a long time) it just stalls.
Are there any known problems with fgets() using fsockopen() for
communication? Is this an issue where it 'misses' the data and there is no
timeout?
Thanks!
Michael Brown
mike@hbhosting.com
--
Edit bug report at: http://bugs.php.net/?id=14224&edit=1