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  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 42 - 5 = ?

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