Unmask close frame before echoing to client Fixes #420

This commit is contained in:
Matt Bonneau 2016-04-25 18:37:51 -04:00
parent a177819dd0
commit 4170822f05

View File

@ -154,6 +154,8 @@ class RFC6455 implements VersionInterface {
return $from->close($frame::CLOSE_BAD_PAYLOAD);
}
$frame->unMaskPayload();
return $from->close($frame);
break;
case $frame::OP_PING: