Commit 46d1a27b authored by Taylor Otwell's avatar Taylor Otwell

Terminate the request after sending.

parent 4b2694ce
...@@ -46,8 +46,12 @@ $app = require_once __DIR__.'/../bootstrap/app.php'; ...@@ -46,8 +46,12 @@ $app = require_once __DIR__.'/../bootstrap/app.php';
| |
*/ */
$response = $app->make('Illuminate\Contracts\Http\Kernel')->handle( $kernel = $app->make('Illuminate\Contracts\Http\Kernel');
Illuminate\Http\Request::capture()
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
); );
$response->send(); $response->send();
$kernel->terminate($request, $response);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment