diff --git a/laravel/laravel.php b/laravel/laravel.php index a1ca2061..c3fef2ee 100644 --- a/laravel/laravel.php +++ b/laravel/laravel.php @@ -178,4 +178,8 @@ | */ -Event::fire('laravel.done', array($response)); \ No newline at end of file +Event::fire('laravel.done', array($response)); + +if (function_exists('fastcgi_finish_request')) { + fastcgi_finish_request(); +} \ No newline at end of file diff --git a/laravel/vendor/Symfony/Component/HttpFoundation/Response.php b/laravel/vendor/Symfony/Component/HttpFoundation/Response.php index 3a0a22e4..dacf4722 100755 --- a/laravel/vendor/Symfony/Component/HttpFoundation/Response.php +++ b/laravel/vendor/Symfony/Component/HttpFoundation/Response.php @@ -292,10 +292,6 @@ public function send() $this->sendHeaders(); $this->sendContent(); - if (function_exists('fastcgi_finish_request')) { - fastcgi_finish_request(); - } - return $this; }