diff --git a/app/Classes/Protocol/Binkp.php b/app/Classes/Protocol/Binkp.php index f4cd174..82438ea 100644 --- a/app/Classes/Protocol/Binkp.php +++ b/app/Classes/Protocol/Binkp.php @@ -393,11 +393,13 @@ final class Binkp extends BaseProtocol if ($this->capGet(self::F_CRYPT,self::O_YES)) { Log::debug(sprintf('%s:%% Decrypting data from remote.',self::LOGKEY)); - $this->rx_buf .= $this->crypt_in->decrypt($rx_buf); + $this->rx_buf .= ($x=$this->crypt_in->decrypt($rx_buf)); } else { - $this->rx_buf .= $rx_buf; + $this->rx_buf .= ($x=$rx_buf); } + + Log::debug(sprintf('%s:- We read [%d] chars from remote',self::LOGKEY,strlen($x)),['rx_buf'=>hex_dump($x)]); } Log::debug(sprintf('%s:- Read buffer has [%d] chars to process.',self::LOGKEY,strlen($this->rx_buf)));