Php/docs/function.fastcgi-finish-request
From Get docs
fastcgi_finish_request
(PHP 5 >= 5.3.3, PHP 7)
fastcgi_finish_request — Flushes all response data to the client
Description
fastcgi_finish_request ( ) : bool
This function flushes all response data to the client and finishes the request. This allows for time consuming tasks to be performed without leaving the connection to the client open.
Return Values
Returns TRUE
on success or FALSE
on failure.