Added debugging for our read buffer, for problem debugging
This commit is contained in:
parent
e2321f3acd
commit
6374725e8e
@ -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)));
|
||||
|
Loading…
Reference in New Issue
Block a user