Bug #14224 Updated: fgets(), fgetc() stalls

From: Date: Sun, 16 Dec 2001 10:49:19 +0000
Subject: Bug #14224 Updated: fgets(), fgetc() stalls
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73995@lists.php.net to get a copy of this message
ID: 14224
Updated by: yohgaki
Reported By: mike@hbhosting.com
Old Status: Open
Status: Feedback
Bug Type: Sockets related
Operating System: FreeBSD 4.3
PHP Version: 4.0.6
New Comment:

Could you try 4.1.0 see if it helps?



Previous Comments:
------------------------------------------------------------------------

[2001-11-26 04:40:05] mike@hbhosting.com

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 this bug report at http://bugs.php.net/?id=14224&edit=1



Thread (3 messages)

« previous php.dev (#73995) next »