#14224 [Com]: fgets(), fgetc() stalls

From: Date: Fri, 18 Oct 2002 02:15:56 +0000
Subject: #14224 [Com]: fgets(), fgetc() stalls
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22711@lists.php.net to get a copy of this message
ID: 14224 Comment by: na@na.com Reported By: mike@hbhosting.com Status: Closed Bug Type: Sockets related Operating System: FreeBSD 4.3 PHP Version: 4.0.6 New Comment: I have the same problem Previous Comments: ------------------------------------------------------------------------ [2002-01-06 07:34:31] sander@php.net No feedback. Closing. ------------------------------------------------------------------------ [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

« previous php.bugs (#22711) next »