From 99fabba81eb08877ae211e6097f522a24612a5da Mon Sep 17 00:00:00 2001 From: ElegosAkla <81744475+ElegosAkla@users.noreply.github.com> Date: Sun, 8 Oct 2023 17:16:23 +0200 Subject: [PATCH] Update TcpSocket.php for increasing buffer size --- app/Socket/TcpSocket.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Socket/TcpSocket.php b/app/Socket/TcpSocket.php index 0af264c..4d5ffce 100644 --- a/app/Socket/TcpSocket.php +++ b/app/Socket/TcpSocket.php @@ -91,7 +91,7 @@ class TcpSocket extends AbstractSocket{ * max length for JSON data string * -> throw OverflowException on exceed */ - const JSON_DECODE_MAX_LENGTH = 65536 * 4; + const JSON_DECODE_MAX_LENGTH = 65536 * 6; /** * @see TcpSocket::DEFAULT_ACCEPT_TYPE @@ -548,4 +548,4 @@ protected function getSocketStats() : array { 'logs' => array_reverse($this->logStore->getStore()) ]; } -} \ No newline at end of file +}