# defender-security/6.3.0/lib/packages/Safe/generated/fpm.php

Defender Security – Malware Scanner, Login Security &amp; Firewall, version 6.3.0. 23 lines.

- Page: https://pluginprobe.com/plugins/defender-security/6.3.0/code/lib/packages/Safe/generated/fpm.php
- Raw: https://pluginprobe.com/plugins/defender-security/6.3.0/raw/lib/packages/Safe/generated/fpm.php
- Modified: 2026-08-24T08:19:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/defender-security/6.3.0/code/lib/packages/Safe/generated/fpm.php#L10-L20`.

```php
<?php

namespace WP_DEFENDER_VENDOR\Safe;

use WP_DEFENDER_VENDOR\Safe\Exceptions\FpmException;

/**
 * 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.
 *
 * @throws FpmException
 *
 */
function fastcgi_finish_request(): void
{
    error_clear_last();
    $result = \fastcgi_finish_request();
    if ($result === false) {
        throw FpmException::createFromPhpError();
    }
}

```
