ratchetphp / RFC6455

I/O agnostic WebSocket Protocol
MIT License
218 stars 38 forks source link

Fix PR65 Undefined variable #66

Closed Domochip closed 2 years ago

Domochip commented 2 years ago

Next to SQKo comment ( https://github.com/ratchetphp/RFC6455/pull/65/files/0050245eb4484351643031d6bc92ee0b607a9541#r948275151 ) An issue appears when a payload is under 125 bytes.

PHP Notice: Undefined variable: payloadLenOver2GB in D:\project\vendor\ratchet\rfc6455\src\Messaging\MessageBuffer.php on line 183