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 75476e4

Browse filesBrowse files
authored
Franken PHP can perform some action after the response has been streamed to the user
Franken also implements fastcgi_finish_request PHP function. kernel.terminate event works well with franken.
1 parent 825e0d3 commit 75476e4
Copy full SHA for 75476e4

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
@@ -474,8 +474,8 @@ as possible to the client (e.g. sending emails).
474474
.. warning::
475475

476476
Internally, the HttpKernel makes use of the :phpfunction:`fastcgi_finish_request`
477-
PHP function. This means that at the moment, only the `PHP FPM`_ server
478-
API is able to send a response to the client while the server's PHP process
477+
PHP function. This means that at the moment, only the `PHP FPM`_ and `FrankenPHP`_ servers
478+
API are able to send a response to the client while the server's PHP process
479479
still performs some tasks. With all other server APIs, listeners to ``kernel.terminate``
480480
are still executed, but the response is not sent to the client until they
481481
are all completed.
@@ -758,3 +758,4 @@ Learn more
758758
.. _FOSRestBundle: https://github.com/friendsofsymfony/FOSRestBundle
759759
.. _`PHP FPM`: https://www.php.net/manual/en/install.fpm.php
760760
.. _variadic: https://www.php.net/manual/en/functions.arguments.php#functions.variable-arg-list
761+
.. _`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.