PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Networking » Net_Server » Bug #1945

strange behaviour of debug

Details

Submitted2004-07-22 09:08 UTC
Fromk dot gornik at fr dot pl
Assignedschst
StatusClosed
PackageNet_Server
PHP Version4.3.7
OSSlackware 10.0 kernel 2.4.26
Roadmaps(Not assigned)

Comments

[2004-07-22 09:08 UTC] k dot gornik at fr dot pl

Description:
------------
In Net/Server/Driver/Fork.php (0.11.4)
in function serviceRequest() message sent to log file does not describe where data came from - in line 192 last part of string,( that is >>.$i<<), uses variable non declared (seems code is taken from Sequential.php without necessary modification)

Reproduce code:
---------------
@@ -192,1 +192,1 @@
-$this->_sendDebugMessage("Received ".trim($data)." from ".$i)
+$this->_sendDebugMessage("Received ".trim($data)." from ".getmypid());

Expected result:
----------------
2004-07-22 10:41:43 Received incoming_blablabla from 30048

Actual result:
--------------
2004-07-22 10:41:43 Received incoming_blablabla from