From bbc7818ddb3062db5e6c7919d4fbaca1a72cefbe Mon Sep 17 00:00:00 2001 From: Chris Boden Date: Sat, 20 Feb 2016 16:07:27 -0500 Subject: [PATCH] Strict Sub-Protocol check off by default More of an implementation detail, not specified in spec --- src/Handshake/ServerNegotiator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Handshake/ServerNegotiator.php b/src/Handshake/ServerNegotiator.php index 86d0411..f1e0ae0 100644 --- a/src/Handshake/ServerNegotiator.php +++ b/src/Handshake/ServerNegotiator.php @@ -15,7 +15,7 @@ class ServerNegotiator implements NegotiatorInterface { private $_supportedSubProtocols = []; - private $_strictSubProtocols = true; + private $_strictSubProtocols = false; public function __construct(RequestVerifier $requestVerifier) { $this->verifier = $requestVerifier;