php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #209 fgetc and fgets fail after reading about 500 bytes from fsockopen
Submitted: 1998-03-28 12:02 UTC Modified: 1998-03-31 11:38 UTC
From: schmitt at towson dot edu Assigned: rasmus (profile)
Status: Closed Package: Other
PHP Version: 3.0 Release Cand OS: IRIX 6.4
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: schmitt at towson dot edu
New email:
PHP Version: OS:

 

 [1998-03-28 12:02 UTC] schmitt at towson dot edu
The fp should not be flushed when reading from a file
descriptor opened with fsockopen.

The problem was solved when I commented out the FFLUSH statements
in file.c lines 430 and 477

% nl file.c | grep FFLUSH

   430          /*      FFLUSH(fp,issock); */
   477                  /* FFLUSH(fp,issock);*/




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-03-31 11:38 UTC] rasmus
Fixed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Oct 05 06:01:28 2024 UTC