From: Roland Haeder Date: Sat, 15 Feb 2014 23:18:34 +0000 (+0100) Subject: More debug lines, why are self-connects not working when debug code is enabled? X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=42e815e7119cef8e078a0a616875b3aeded28c34;p=hub.git More debug lines, why are self-connects not working when debug code is enabled? Signed-off-by: Roland Haeder --- diff --git a/application/hub/main/handler/network/tcp/class_TcpRawDataHandler.php b/application/hub/main/handler/network/tcp/class_TcpRawDataHandler.php index 73a128770..f97cafd68 100644 --- a/application/hub/main/handler/network/tcp/class_TcpRawDataHandler.php +++ b/application/hub/main/handler/network/tcp/class_TcpRawDataHandler.php @@ -114,6 +114,7 @@ class TcpRawDataHandler extends BaseRawDataHandler implements Networkable { * well-formed BASE64-encoded message with start and markers. This * will be checked later on. */ + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('TCP-HANDLER[' . __LINE__ . ']: Adding ' . strlen($rawData) . ' bytes to stacker ...'); $this->addRawDataToStacker($rawData); } } diff --git a/application/hub/main/listener/class_BaseListenerDecorator.php b/application/hub/main/listener/class_BaseListenerDecorator.php index fe61ada99..144d5e106 100644 --- a/application/hub/main/listener/class_BaseListenerDecorator.php +++ b/application/hub/main/listener/class_BaseListenerDecorator.php @@ -151,6 +151,7 @@ class BaseListenerDecorator extends BaseDecorator implements Visitable { * if the decoded data origins from a TCP or UDP connection so we can * just pass it over to the network package receiver */ + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . '] Going to handle over some raw data to receiver instance (' . $receiverInstance->__toString() . ' ...'); $receiverInstance->addRawDataToIncomingStack($handlerInstance); } }