Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor committed Sep 15, 2015
1 parent 99d7b4f commit 38a2004
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Engine/Protocols/SocketIO.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public static function input($http_buffer, $connection)
$connection->httpRequest = $req;
$connection->httpResponse = $res;
$connection->hasReadedHead = true;
TcpConnection::$statistics['total_request']++;
$connection->onClose = '\PHPSocketIO\Engine\Protocols\SocketIO::emitClose';
if(isset($req->headers['upgrade']) && $req->headers['upgrade'] = 'websocket')
{
Expand Down

0 comments on commit 38a2004

Please sign in to comment.