History log of /php-src/sapi/fpm/tests/tester.inc (Results 1 – 25 of 64)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 9b1d2e93 30-Mar-2024 Jakub Zelenka

Fix FPM tester default env vars change

This broke cloexec test


# d0a8d41e 22-Mar-2024 Jakub Zelenka

Fix GH-13563: Setting bool values via env in FPM config fails

Closes GH-13786


# 330cc5cd 13-Mar-2024 Máté Kocsis

Deprecate implicit nullable parameter types (#12959)

RFC: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types

Co-authored-by: Gina Peter Banyard <girgias@php.net>


# a19267d4 08-Feb-2024 Jakub Zelenka

Fix GH-11086: FPM: config test runs twice in daemonised mode

The previous check for STDERR did not work so this fixes it.

Closes GH-13357


# cd66fcc6 17-Jun-2023 Ilija Tovilo

Add request_parse_body() function

RFC: https://wiki.php.net/rfc/rfc1867-non-post

This function allows populating the $_POST and $_FILES globals for non-post
requests. This avoid

Add request_parse_body() function

RFC: https://wiki.php.net/rfc/rfc1867-non-post

This function allows populating the $_POST and $_FILES globals for non-post
requests. This avoids manual parsing of RFC1867 requests.

Fixes #55815
Closes GH-11472

show more ...


# 62682cbd 08-Dec-2023 Jakub Zelenka

Add FPM tester logs printing for all errors

Closes GH-12902


# d02a8f4e 09-Nov-2023 Jakub Zelenka

Separate setting of SO_KEEPALIVE in FPM tests

Closes GH-12640


# e3d1beb0 08-Oct-2023 Jakub Zelenka

Fix bug #76922: FastCGI terminates conn after FCGI_GET_VALUES

Closes GH-12387


# 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


# fe30c509 30-Aug-2023 Jakub Zelenka

Fix GH-12077: Check lsof functionality in socket on close test

Closes GH-12084


# 99a222cd 26-Aug-2023 Jakub Zelenka

FPM tester FastCGI client transport (#11764)

This improves FastCGI client by separating transport functions and adding support for more low level socket transport that is useful for debuggin

FPM tester FastCGI client transport (#11764)

This improves FastCGI client by separating transport functions and adding support for more low level socket transport that is useful for debugging in some cases.

In addition to that it introduces an option for delaying of fcgi request writing.

show more ...


# 418cdc0b 14-Jul-2023 Mikhail Galanin

Set CLOEXEC on listened/accepted sockets in the FPM children

Closes GH-11708

Co-authored-by: Jakub Zelenka <bukka@php.net>


# 08b57772 12-Apr-2023 Joshua Behrens

Warn when fpm socket was not registered on the expected path

This might happen if the UDS length limit is exceeded.

Co-authored-by: Jakub Zelenka <bukka@php.net>

Closes GH-

Warn when fpm socket was not registered on the expected path

This might happen if the UDS length limit is exceeded.

Co-authored-by: Jakub Zelenka <bukka@php.net>

Closes GH-11066

show more ...


# ea2ee605 05-Jun-2023 Tim Starling

When running FPM tests, pass -n option to php-fpm

"make test" was failing for me, because I was running it prior to
install, and there was an old installed version which was incompatible

When running FPM tests, pass -n option to php-fpm

"make test" was failing for me, because I was running it prior to
install, and there was an old installed version which was incompatible.
The FPM tests were using the installed php.ini which referenced
installed dynamically linked extensions.

So, pass -n to php-fpm.

FPM\Tester::start() has $extensions, $iniEntries and
TEST_FPM_EXTENSION_DIR but they are not actually set by anything. Rather
than rely on the installed php.ini to be correct, it seems safer to pass
-n, and any tests that need specific config can pass $iniEntries.

Closes GH-11373

show more ...


# 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.


# 21d8980d 23-Dec-2022 Jakub Zelenka

Fix bug #68591: Configuration test does not perform UID lookups

Addition check in fpm config test to verify existence of user, group,
listen.owner and listen.group.

Closes GH-10

Fix bug #68591: Configuration test does not perform UID lookups

Addition check in fpm config test to verify existence of user, group,
listen.owner and listen.group.

Closes GH-10165

show more ...


# 94702c56 21-Nov-2022 Jakub Zelenka

Fix bug #80669: FPM numeric user fails to set groups


# 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


Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23
# e3034dba 29-Aug-2022 Jakub Zelenka

Fix FPM tester conflict

123