Echo valid clode code back to peer handler
This commit is contained in:
parent
dd75dafe97
commit
ccef4dc384
@ -157,7 +157,7 @@ class MessageBuffer {
|
|||||||
return $this->newCloseFrame(Frame::CLOSE_BAD_PAYLOAD);
|
return $this->newCloseFrame(Frame::CLOSE_BAD_PAYLOAD);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->newCloseFrame($closeCode);
|
return $frame;
|
||||||
break;
|
break;
|
||||||
case Frame::OP_PING:
|
case Frame::OP_PING:
|
||||||
case Frame::OP_PONG:
|
case Frame::OP_PONG:
|
||||||
|
Loading…
Reference in New Issue
Block a user