Skip to content

Commit

Permalink
Update App.php
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored Jun 23, 2022
1 parent 8368202 commit 41430a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ protected static function findFile($connection, $path, $key, $request)
protected static function send(TcpConnection $connection, $response, Request $request)
{
$keep_alive = $request->header('connection');
static::$_request = static::$_connection = null;
if (($keep_alive === null && $request->protocolVersion() === '1.1')
|| $keep_alive === 'keep-alive' || $keep_alive === 'Keep-Alive'
) {
Expand Down

0 comments on commit 41430a5

Please sign in to comment.