Skip to content

Commit

Permalink
fix #274 #
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor committed Feb 24, 2022
1 parent 09e4733 commit a5758da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Engine/Engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ protected function verify($req, $res, $upgrade, $fn)
}
$transport = $req->_query['transport'];
$sid = isset($req->_query['sid']) ? $req->_query['sid'] : '';
if ($transport === 'websocket' && empty($sid)) {
/*if ($transport === 'websocket' && empty($sid)) {
return call_user_func($fn, self::ERROR_UNKNOWN_TRANSPORT, false, $req, $res);
}
}*/
if($sid)
{
if(!isset($this->clients[$sid]))
Expand Down

0 comments on commit a5758da

Please sign in to comment.