From: Roland Häder Date: Sat, 4 Aug 2012 22:14:37 +0000 (+0000) Subject: Added debug line X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e414fb7905b3ba9fb711ac2dc90fee09ac76b951;p=hub.git Added debug line --- diff --git a/application/hub/main/helper/connection/class_BaseConnectionHelper.php b/application/hub/main/helper/connection/class_BaseConnectionHelper.php index 4c4933745..e0a1e2e0c 100644 --- a/application/hub/main/helper/connection/class_BaseConnectionHelper.php +++ b/application/hub/main/helper/connection/class_BaseConnectionHelper.php @@ -401,7 +401,6 @@ class BaseConnectionHelper extends BaseHubHelper implements Registerable, Protoc //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('CONNECTION-HELPER: Adding ' . strlen($dataStream) . ' bytes to the sending buffer ...'); $rawData .= $dataStream; } // END - while - //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('CONNECTION-HELPER: rawData[' . strlen($rawData) . ']=' . $rawData); // Nothing to sent is bad news, so assert on it assert(strlen($rawData) > 0); diff --git a/application/hub/main/package/assembler/class_PackageAssembler.php b/application/hub/main/package/assembler/class_PackageAssembler.php index 4d0d281ec..26e431243 100644 --- a/application/hub/main/package/assembler/class_PackageAssembler.php +++ b/application/hub/main/package/assembler/class_PackageAssembler.php @@ -120,6 +120,9 @@ class PackageAssembler extends BaseHubSystem implements Assembler, Registerable * @throws FinalChunkVerificationException If the final chunk does not start with 'EOP:' */ private function handlePackageByUnhandledPackage (array $packageContent) { + // Debug message + /* NOISY-DEBUG: */ $this->debugOutput('PACKAGE-ASSEMBLER: packageData[' . BaseRawDataHandler::PACKAGE_DECODED_DATA . ']=' . $packageContent[BaseRawDataHandler::PACKAGE_DECODED_DATA]); + // Check for some conditions if (!$this->ifInputBufferIsEmpty()) { // Last chunk is not valid, so wait for more