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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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: Mon Dec 30 14:01:28 2024 UTC