diff --git a/src/Engine/Parser.php b/src/Engine/Parser.php index 0552ca4..74913e4 100644 --- a/src/Engine/Parser.php +++ b/src/Engine/Parser.php @@ -181,13 +181,13 @@ public static function decodePayload($data, $binaryType = null) return self::$err; } - $msg = substr($data, $i + 1, $n); + $msg = substr($data, $i + 1/*, $n*/); - if ($length != strlen($msg)) + /*if ($length != strlen($msg)) { // parser error - ignoring payload return self::$err; - } + }*/ if (isset($msg[0])) {