Echo valid clode code back to peer handler

This commit is contained in:
Chris Boden 2016-03-15 11:55:15 -04:00
parent dd75dafe97
commit ccef4dc384

View File

@ -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: