Corrected $msgBuffer issue caused by merge with master
This commit is contained in:
parent
cba2acd69d
commit
ed16f5cba1
@ -149,7 +149,7 @@ class MessageBuffer {
|
|||||||
if (true !== $msgCheck) {
|
if (true !== $msgCheck) {
|
||||||
$onControl($this->newCloseFrame($msgCheck, 'Ratchet detected an invalid UTF-8 payload'), $this);
|
$onControl($this->newCloseFrame($msgCheck, 'Ratchet detected an invalid UTF-8 payload'), $this);
|
||||||
} else {
|
} else {
|
||||||
$onMessage($this->messageBuffer, $this);
|
$onMessage($msgBuffer, $this);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->messageBuffer = null;
|
$this->messageBuffer = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user