Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.5

Bug #3340 fread shouldn't grab 32k
Submitted: 2005-02-01 00:24 UTC
From: tac at smokescreen dot org Assigned: danielc
Status: Closed Package: XML_RPC
PHP Version: 5.0.3 OS: all
Roadmaps: (Not assigned)    
Subscription  


 [2005-02-01 00:24 UTC] tac at smokescreen dot org
Description: ------------ in function parseResponseFile($fp), line 1109 of RPC.php $ipd = ''; while ($data = @fread($fp, 32768)) { $ipd .= $data; } return $this->parseResponse($ipd); I don't think 32k is the right number, I remember this causing a problem in PHP 4.3 release. 8192 I think is the right number for most systems, even more efficient is to check for file_get_contents and use it if it exists.

Comments

 [2005-02-22 06:17 UTC] danielc
Changed in CVS.