|
@@ -178,4 +178,18 @@ $response->send();
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
-Event::fire('laravel.done', array($response));
|
|
|
+Event::fire('laravel.done', array($response));
|
|
|
+
|
|
|
+/*
|
|
|
+|--------------------------------------------------------------------------
|
|
|
+| Finish the request for PHP-FastCGI
|
|
|
+|--------------------------------------------------------------------------
|
|
|
+|
|
|
|
+| Stopping the PHP process for PHP-FastCGI users to speed up some
|
|
|
+| PHP queries. Acceleration is possible when there are actions in the
|
|
|
+| process of script execution that do not affect server response.
|
|
|
+| For example, saving the session in memcached can occur after the page
|
|
|
+| has been formed and passed to a web server.
|
|
|
+*/
|
|
|
+
|
|
|
+$response->foundation->finish();
|