Skip to content

FrankenPHP can perform action after the response has been send #20873

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions components/http_kernel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,8 @@ as possible to the client (e.g. sending emails).
.. warning::

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