Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitdeab47b

Browse 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 sendFranken 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 containsthe bug (seehttps://symfony.com/releases for the list of maintained branches).If your pull request documents a NEW FEATURE, use the same Symfony branch wherethe 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 parents03321a8 +fcfcacb commitdeab47b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎components/http_kernel.rst‎

Lines 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-
APIis 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+
APIare 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)

[8]ページ先頭

©2009-2025 Movatter.jp