Escape newline chars
This commit is contained in:
@ -107,7 +107,7 @@ abstract class Connection
|
|||||||
{
|
{
|
||||||
$socket = $this->socket();
|
$socket = $this->socket();
|
||||||
|
|
||||||
$this->logger->debug('Send buffer: '.$buffer);
|
$this->logger->debug('Send buffer: '.addcslashes($buffer, PHP_EOL));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$socket->write($buffer);
|
$socket->write($buffer);
|
||||||
|
Reference in New Issue
Block a user