Edit report at http://pear.php.net/bugs/bug.php?id=14968&edit=1

ID: 14968
Updated by: daniel.oconnor@gmail.com
Reported By: dvdjg at hotmail dot com
Summary: Last data packet lost
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Net_Server
Operating System: all
Package Version: 1.0.2
PHP Version: 5.2.6
Roadmap Versions:
New Comment:

-Status: Feedback
+Status: No Feedback

Previous Comments:

[2009-02-07 14:02:35] doconnor

-Status: Open
+Status: Feedback

Thank you for taking the time to report a problem with the package.
This problem may have been already fixed by a previous change that
is in the CVS of the package. Please log into CVS with:

cvs -d :pserver:cvsread@cvs.php.net:/repository login

and check out the CVS repository of this package and upgrade

cvs -d :pserver:cvsread@cvs.php.net:/repository co pear/Net_Server
pear upgrade pear/Net_Server/package2.xml


pear upgrade pear/Net_Server/package.xml

If you are able to reproduce the bug with the latest CVS,
please change the status back to "Open".
Again, thank you for your continued support of PEAR.

This actually looks fixed in CVS.

If you could test it, that would be very helpful.


[2008-11-16 23:18:26] doconnor

See Bug #15030 (dupe of this one)


[2008-11-07 07:59:54] doconnor

David, is there a small executable test script you can provide which
clearly demonstrates the problem?

$a = 1;
$b = 2;
assert($a + $b == 3); //fails :(


[2008-11-07 01:25:34] dvdjg

The readEndCharacter data package partition do not work properly, but
when not used, the bug is more clear: data is not copied if is the same
size as the readBufferSize.

The Driver.php section should be:

.line 260.
* readEndCharacter is set to null => autodetect
$data .= $buf;
if (strlen($buf) < $this->readBufferSize) {

I also think that a fixed size buffer of 128 bytes for reading is so
small (but it is not a bug ;).


Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
postedSep 29, '11 at 8:07a
activeSep 29, '11 at 8:07a

1 user in discussion

Daniel Oconnor: 1 post



site design / logo © 2022 Grokbase