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

Bug #1945 strange behaviour of debug
Submitted: 2004-07-22 04:08 UTC Modified: 2004-08-21 16:17 UTC
From: k dot gornik at fr dot pl Assigned: schst
Status: Closed Package: Net_Server
PHP Version: 4.3.7 OS: Slackware 10.0 kernel 2.4.26
Roadmaps: (Not assigned)    
Subscription  


 [2004-07-22 04: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

Comments

 [2004-08-21 16:17 UTC] schst
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.