Re-enable strict sub protocol check
This commit is contained in:
parent
214a8db846
commit
25c3e4fb3b
@ -65,6 +65,7 @@ class WsServer implements HttpServerInterface {
|
||||
|
||||
$this->closeFrameChecker = new CloseFrameChecker;
|
||||
$this->handshakeNegotiator = new ServerNegotiator(new RequestVerifier);
|
||||
$this->handshakeNegotiator->setStrictSubProtocolCheck(true);
|
||||
|
||||
if ($component instanceof WsServerInterface) {
|
||||
$this->handshakeNegotiator->setSupportedSubProtocols($component->getSubProtocols());
|
||||
|
Loading…
Reference in New Issue
Block a user