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
 [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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-03-31 11:38 UTC] rasmus
Fixed
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sat Dec 03 19:05:55 2022 UTC