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

From: Date: Sun, 06 Jan 2002 12:34:32 +0000
Subject: Bug #14224 Updated: fgets(), fgetc() stalls
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-76026@lists.php.net to get a copy of this message
ID: 14224
Updated by: sander
Reported By: mike@hbhosting.com
Old Status: Feedback
Status: Closed
Bug Type: Sockets related
Operating System: FreeBSD 4.3
PHP Version: 4.0.6
New Comment:

No feedback. Closing.

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

[2001-12-16 05:49:19] yohgaki@php.net

Could you try 4.1.0 see if it helps?



------------------------------------------------------------------------

[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 (#76026) next »