diff --git a/src/App.php b/src/App.php index e06a0b4..818120b 100644 --- a/src/App.php +++ b/src/App.php @@ -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' ) {