]> git.mxchange.org Git - hub.git/commitdiff
Added debug line
authorRoland Häder <roland@mxchange.org>
Sat, 4 Aug 2012 22:14:37 +0000 (22:14 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 4 Aug 2012 22:14:37 +0000 (22:14 +0000)
application/hub/main/helper/connection/class_BaseConnectionHelper.php
application/hub/main/package/assembler/class_PackageAssembler.php

index 4c4933745cd993729d60cf7274a9a5f3d0a5f28b..e0a1e2e0c0f459ee566019d3c9038c9ac0d00bf2 100644 (file)
@@ -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);
index 4d0d281ecda197dae6a8e82d3a8282821aa5851f..26e4312432b19cb394882dcff3b14975eb3276c4 100644 (file)
@@ -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