History log of /PHP-8.1/sapi/fpm/tests/tester.inc (Results 1 – 25 of 36)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 0217be4d 22-Sep-2023 Jakub Zelenka

Fix GH-12232: FPM: segfault dynamically loading extension without opcache

Also fixes incorrect assertion in ini init that php_dl is always
temporary.

Closes GH-12277


# 5e64ead6 10-Apr-2023 Jakub Zelenka

Fix bug #64539: FPM status - query_string not properly JSON encoded

Closes GH-11050


# 7d987ebb 17-Mar-2023 Jakub Zelenka

Fix FPM tester $scriptName logic


# 3125155b 12-Mar-2023 Jakub Zelenka

Add extra option to FPM tester for handling script filename


# 716de0cf 19-Jan-2023 Jakub Zelenka

Introduce max_multipart_body_parts INI

This fixes GHSA-54hq-v5wp-fqgv DOS vulnerabality by limitting number of
parsed multipart body parts as currently all parts were always parsed.


# 5a4520bc 21-Nov-2022 Jakub Zelenka

Fix bug #68207: Setting fastcgi.error_header can result in a WARNING


# db2d32f4 30-Oct-2022 Jakub Zelenka

Introduce TEST_FPM_EXTENSION_DIR for FPM tests with shared extensions


# 1c5844aa 29-Oct-2022 Jakub Zelenka

Fix GH-9754: SaltStack hangs when running php-fpm 8.1.11

SaltStack uses Python subprocess and redirects stderr to stdout which is
then piped to the returned output. If php-fpm starts in

Fix GH-9754: SaltStack hangs when running php-fpm 8.1.11

SaltStack uses Python subprocess and redirects stderr to stdout which is
then piped to the returned output. If php-fpm starts in daemonized mode,
it should close stderr. However a fix introduced in GH-8913 keeps stderr
around so it can be later restored. That causes the issue reported in
GH-9754. The solution is to keep stderr around only when php-fpm runs in
foreground as the issue is most likely visible only there. Basically
there is no need to restore stderr when php-fpm is daemonized.

show more ...


# 1e8fa660 04-Sep-2022 Jakub Zelenka

Rework FPM tests logging for better debugging


# 3503b1da 26-Jun-2022 Jakub Zelenka

Fix bug #77780: "Headers already sent" when previous connection was aborted

This change primarily splits SAPI deactivation to module and destroy
parts. The reason is that currently some

Fix bug #77780: "Headers already sent" when previous connection was aborted

This change primarily splits SAPI deactivation to module and destroy
parts. The reason is that currently some SAPIs might bail out
on deactivation. One of those SAPI is PHP-FPM that can bail out on
request end if for example the connection is closed by the client
(web sever). The problem is that in such case the resources are not
freed and some values reset. The most visible impact can have not
resetting the PG(headers_sent) which can cause erorrs in the next
request. One such issue is described in #77780 bug which this fixes
and is also cover by a test in this commit. It seems reasonable
to separate deactivation and destroying of the resource which means
that the bail out will not impact it.

show more ...


# f92505cf 03-Jul-2022 Dmitry Menshikov

Fix GH-8885: access.log with stderr writes logs to error_log after reload

This fix allows restoring the the original stderr so the logs are
correctly written.


Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1, php-8.1.0
# 435a5aca 20-Nov-2021 Jakub Zelenka

Add FPM test for php_admin_value doc_root usage

Closes GH-7673.


Revision tags: php-7.3.33
# 2f8407f1 14-Nov-2021 Jakub Zelenka

Increase read timeout in FPM process idle test


Revision tags: php-7.3.32
# edfb3470 04-Oct-2021 Jakub Zelenka

Add FPM prod idle timeout test with 6s sleep


# 69514e6f 04-Oct-2021 Nikita Popov

Revert "Add FPM prod idle timeout test"

This reverts commit 08f52b1643d7a068e30c0abf5e1cad359f0eed06.

The newly added test fails.


Revision tags: php-7.3.31
# 08f52b16 05-Sep-2021 Jakub Zelenka

Add FPM prod idle timeout test


Revision tags: php-7.3.30, php-7.3.29, php-7.3.28
# eac1609a 05-Mar-2021 Paulius Sapragonas

Max spawn child processes rate an once

* Add functionality to expect log config options


# c483b591 28-Feb-2021 Jakub Zelenka

Fix bug #80024: Duplication of info about inherited socket after pool removing


Revision tags: php-7.3.27, php-7.3.26, php-7.3.26RC1, php-7.3.25, php-7.3.25RC1, php-7.3.24, php-7.3.24RC1, php-7.3.23, php-7.3.23RC1, php-7.3.22, php-7.3.22RC1, php-7.3.21, php-7.3.21RC1, php-7.3.20, php-7.3.20RC1
# d36ac964 09-Jun-2020 Cees-Jan Kiewiet

Add support for openmetrics formatting to FPM status


# a221e17b 28-Nov-2020 Jakub Zelenka

Fix bug #69625: FPM returns 200 status on request without SCRIPT_FILENAME


Revision tags: php-7.3.19, php-7.4.7RC1, php-7.3.19RC1, php-7.3.18RC1, php-7.2.30, php-7.3.17
# 87375fa2 01-Apr-2020 Matteo Beccati

Skip fpm tests not designed to be run as root

When running as root with TEST_FPM_RUN_AS_ROOT=1


# af337ae4 01-Apr-2020 Matteo Beccati

Allow fpm tests to be run with long socket path

Socket path is restricted to ~100 bytes, so we can use
the system temp dir if the path ends up too long.


Revision tags: php-7.3.17RC1, php-7.3.18, php-7.3.16, php-7.3.16RC1
# 0b4e80b8 04-Feb-2020 Andre Nathan

Allow numeric [UG]ID in FPM listen.{owner,group}


Revision tags: php-7.3.15RC1, php-7.3.15
# 0aa09da4 21-Jan-2020 Nikita Popov

Add sleep in FPM reload test

Explicitly mark the point where we have to wait.


Revision tags: php-7.3.14
# b3cc30ad 09-Jan-2020 Nikita Popov

Increase select timeout in FPM tester

Let's see if that helps with the recent failure spree on Azure.


12