Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit deab47b

Browse filesBrowse files
committed
minor #20873 FrankenPHP can perform action after the response has been send (sungvadan)
This PR was submitted for the 7.2 branch but it was merged into the 6.4 branch instead. Discussion ---------- FrankenPHP can perform action after the response has been send Franken also implements fastcgi_finish_request PHP function. kernel.terminate event works well with franken. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> Commits ------- fcfcacb Franken PHP can perform some action after the response has been streamed to the user
2 parents 03321a8 + fcfcacb commit deab47b
Copy full SHA for deab47b

File tree

1 file changed

+3
-2
lines changed
Filter options

1 file changed

+3
-2
lines changed

‎components/http_kernel.rst

Copy file name to clipboardExpand all lines: components/http_kernel.rst
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,8 @@ as possible to the client (e.g. sending emails).
497497
.. warning::
498498

499499
Internally, the HttpKernel makes use of the :phpfunction:`fastcgi_finish_request`
500-
PHP function. This means that at the moment, only the `PHP FPM`_ server
501-
API is able to send a response to the client while the server's PHP process
500+
PHP function. This means that at the moment, only the `PHP FPM`_ and `FrankenPHP`_ servers
501+
API are able to send a response to the client while the server's PHP process
502502
still performs some tasks. With all other server APIs, listeners to ``kernel.terminate``
503503
are still executed, but the response is not sent to the client until they
504504
are all completed.
@@ -770,3 +770,4 @@ Learn more
770770
.. _FOSRestBundle: https://github.com/friendsofsymfony/FOSRestBundle
771771
.. _`PHP FPM`: https://www.php.net/manual/en/install.fpm.php
772772
.. _variadic: https://www.php.net/manual/en/functions.arguments.php#functions.variable-arg-list
773+
.. _`FrankenPHP`: https://frankenphp.dev

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.