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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Pull Requests

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: Sat Dec 21 14:01:32 2024 UTC