php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14224 fgets(), fgetc() stalls
Submitted: 2001-11-26 04:40 UTC Modified: 2002-01-06 07:34 UTC
From: mike at hbhosting dot com Assigned:
Status: Closed Package: Sockets related
PHP Version: 4.0.6 OS: FreeBSD 4.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mike at hbhosting dot com
New email:
PHP Version: OS:

 

 [2001-11-26 04:40 UTC] mike at hbhosting dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-16 05:49 UTC] yohgaki@php.net
Could you try 4.1.0 see if it helps?


 [2002-01-06 07:34 UTC] sander@php.net
No feedback. Closing.
 [2002-10-17 21:15 UTC] na at na dot com
I have the same problem
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 00:01:28 2024 UTC