From: Roland Haeder Date: Thu, 20 Feb 2014 21:28:56 +0000 (+0100) Subject: Wrongly named + more debug log. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4c990e851ec89bca3a0942e4a17b77b7864eef89;p=hub.git Wrongly named + more debug log. Signed-off-by: Roland Haeder --- diff --git a/application/hub/config.php b/application/hub/config.php index d297bcca6..eef45efff 100644 --- a/application/hub/config.php +++ b/application/hub/config.php @@ -208,7 +208,7 @@ $cfg->setConfigEntry('package_tag_request_node_list_filter', 'PackageRequestNode $cfg->setConfigEntry('package_tag_request_node_list_answer_filter', 'PackageRequestNodeListAnswerTagFilter'); // CFG: PACKAGE-TAG-DHT-BOOTSTRAP-FILTER -$cfg->setConfigEntry('package_tag_announcement_filter', 'PackageDhtBootstrapTagFilter'); +$cfg->setConfigEntry('package_tag_dht_bootstrap_filter', 'PackageDhtBootstrapTagFilter'); // CFG: MESSAGE-TYPE-ANNOUNCEMENT-HANDLER-CLASS $cfg->setConfigEntry('message_type_announcement_handler_class', 'NodeMessageAnnouncementHandler'); diff --git a/application/hub/main/helper/connection/class_BaseConnectionHelper.php b/application/hub/main/helper/connection/class_BaseConnectionHelper.php index 560fc5dbd..8ad8893b0 100644 --- a/application/hub/main/helper/connection/class_BaseConnectionHelper.php +++ b/application/hub/main/helper/connection/class_BaseConnectionHelper.php @@ -332,7 +332,7 @@ class BaseConnectionHelper extends BaseHubSystemHelper implements Registerable, $finalHash = $this->getFragmenterInstance()->fragmentPackageArray($packageData, $this); if ($finalHash !== TRUE) { // Debug message - /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('CONNECTION-HELPER[' . __METHOD__ . ':' . __LINE__ . ']: Setting finalHash=' . $finalHash); + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('CONNECTION-HELPER[' . __METHOD__ . ':' . __LINE__ . ']: Setting finalHash=' . $finalHash . ',currentFinalHash[' . gettype($this->currentFinalHash) . ']=' . $this->currentFinalHash); // Set final hash $this->currentFinalHash = $finalHash; diff --git a/application/hub/main/package/fragmenter/class_PackageFragmenter.php b/application/hub/main/package/fragmenter/class_PackageFragmenter.php index 7d8bb6b90..d0fbf3fd0 100644 --- a/application/hub/main/package/fragmenter/class_PackageFragmenter.php +++ b/application/hub/main/package/fragmenter/class_PackageFragmenter.php @@ -416,12 +416,14 @@ class PackageFragmenter extends BaseHubSystem implements Fragmentable, Registera assert($this->serialNumber <= $this->maxSerialNumber); // Encode the current serial number + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(__METHOD__ . ': serialNumber=' . $this->serialNumber); $encodedSerialNumber = $this->dec2Hex($this->serialNumber, self::MAX_SERIAL_LENGTH); // Count one up $this->serialNumber++; // Return the encoded serial number + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(__METHOD__ . ': encodedSerialNumber=' . $encodedSerialNumber); return $encodedSerialNumber; }