Skip to content

Commit

Permalink
Merge branch 'mask'
Browse files Browse the repository at this point in the history
  • Loading branch information
cboden committed May 25, 2016
2 parents b3b10e3 + 4170822 commit 734055e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Ratchet/WebSocket/Version/RFC6455.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ public function onMessage(ConnectionInterface $from, $data) {
return $from->close($frame::CLOSE_BAD_PAYLOAD);
}

$frame->unMaskPayload();

return $from->close($frame);
break;
case $frame::OP_PING:
Expand Down

0 comments on commit 734055e

Please sign in to comment.