typo
This commit is contained in:
parent
0050245eb4
commit
93050e65a0
@ -158,7 +158,7 @@ class MessageBuffer {
|
|||||||
$payloadLenBytes = $payload_length === 126 ? 2 : 8;
|
$payloadLenBytes = $payload_length === 126 ? 2 : 8;
|
||||||
$headerSize += $payloadLenBytes;
|
$headerSize += $payloadLenBytes;
|
||||||
$bytesToUpack = substr($data, $frameStart + 2, $payloadLenBytes);
|
$bytesToUpack = substr($data, $frameStart + 2, $payloadLenBytes);
|
||||||
$payloadLenOver2GB = false
|
$payloadLenOver2GB = false;
|
||||||
|
|
||||||
if ($payload_length === 126){
|
if ($payload_length === 126){
|
||||||
$payload_length = unpack('n', $bytesToUpack)[1];
|
$payload_length = unpack('n', $bytesToUpack)[1];
|
||||||
|
Loading…
Reference in New Issue
Block a user