Unmask close frame before echoing to client Fixes #420
This commit is contained in:
parent
a177819dd0
commit
4170822f05
@ -154,6 +154,8 @@ class RFC6455 implements VersionInterface {
|
|||||||
return $from->close($frame::CLOSE_BAD_PAYLOAD);
|
return $from->close($frame::CLOSE_BAD_PAYLOAD);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$frame->unMaskPayload();
|
||||||
|
|
||||||
return $from->close($frame);
|
return $from->close($frame);
|
||||||
break;
|
break;
|
||||||
case $frame::OP_PING:
|
case $frame::OP_PING:
|
||||||
|
Loading…
Reference in New Issue
Block a user