From 7fa4c573873cfe3eb28da1d1eb4719c70c83defe Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 6 Oct 2015 20:46:00 +0200 Subject: [PATCH] Continued a bit: - added debug message - updated 'core' (with not-so-good code places) Signed-off-by: Roland Haeder --- .../helper/connection/ipv4/tcp/class_TcpConnectionHelper.php | 3 +++ core | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/application/hub/classes/helper/connection/ipv4/tcp/class_TcpConnectionHelper.php b/application/hub/classes/helper/connection/ipv4/tcp/class_TcpConnectionHelper.php index 682c181bb..954c7f344 100644 --- a/application/hub/classes/helper/connection/ipv4/tcp/class_TcpConnectionHelper.php +++ b/application/hub/classes/helper/connection/ipv4/tcp/class_TcpConnectionHelper.php @@ -139,6 +139,9 @@ class TcpConnectionHelper extends BaseIpV4ConnectionHelper implements Connection // Now connect to it if (!$helperInstance->connectToPeerByUnlData($unlData)) { + // Debug message + self::createDebugInstance(__CLASS__)->debugOutput('HELPER[' . __METHOD__ . ':' . __LINE__ . ']: helperInstance=' . $helperInstance->__toString() . ',unlData=' . print_r($unlData, TRUE)); + // Handle socket error $helperInstance->handleSocketError(__METHOD__, __LINE__, $socketResource, $unlData); } // END - if diff --git a/core b/core index 52435b121..940994747 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 52435b121176f8c322b9a65edffd7c65479a4614 +Subproject commit 940994747eea52b7de56abfffca5b2c33ae9b9dd -- 2.39.5