From: Roland Häder Date: Sat, 4 Aug 2012 22:52:52 +0000 (+0000) Subject: Added debug line to see the data X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d1ac77fc7d00374249e80339034b43e24c5efd6b;p=hub.git Added debug line to see the data --- diff --git a/application/hub/main/handler/network/tcp/class_TcpRawDataHandler.php b/application/hub/main/handler/network/tcp/class_TcpRawDataHandler.php index 7761d488d..5ffe49ca2 100644 --- a/application/hub/main/handler/network/tcp/class_TcpRawDataHandler.php +++ b/application/hub/main/handler/network/tcp/class_TcpRawDataHandler.php @@ -80,6 +80,7 @@ class TcpRawDataHandler extends BaseRawDataHandler implements Networkable { // Debug output of read data length /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('TCP-HANDLER: rawData[' . gettype($rawData) . ']=' . strlen($rawData) . ',MD5=' . md5($rawData) . ',resource=' . $socketArray[BasePool::SOCKET_ARRAY_RESOURCE] . ',error=' . socket_strerror(socket_last_error($socketArray[BasePool::SOCKET_ARRAY_RESOURCE]))); + /* NOISY-DEBUG: */ if ($rawData !== false) self::createDebugInstance(__CLASS__)->debugOutput('TCP-HANDLER: rawData=' . $rawData); // Is it valid? if (socket_last_error($socketArray[BasePool::SOCKET_ARRAY_RESOURCE]) == 11) {