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

Bug #12743 Bug in Net_Server_Driver::readFromSocket
Submitted: 2007-12-21 12:13 UTC
From: gacek Assigned: cweiske
Status: Closed Package: Net_Server
PHP Version: 5.2.5 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2007-12-21 12:13 UTC] gacek (Piotr Gackiewicz)
Description: ------------ When using "block mode" ($this->readEndCharacter==null) data read from socket bigger than readBufferSize are messed up. Problematic clause: if ($this->readEndCharacter != null) { ... } else { /** * readEndCharacter is set to null => autodetect */ if (strlen($buf) < $this->readBufferSize) { <==== $data .= $buf; <==== break; } }

Comments

 [2008-02-16 10:13 UTC] cweiske (Christian Weiske)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.