php-src/sapi/fpm
Jakub Zelenka 3503b1daa2
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.
2022-08-29 22:25:53 +01:00
..
fpm Fix GH-8885: access.log with stderr writes logs to error_log after reload 2022-08-29 14:39:24 +01:00
tests Fix bug #77780: "Headers already sent" when previous connection was aborted 2022-08-29 22:25:53 +01:00
config.m4 Fix FPM ACL build check on MacOS 2022-04-29 20:39:22 +01:00
CREDITS
init.d.php-fpm.in Add configtest option to fpm init.d script 2015-03-08 22:48:29 +08:00
LICENSE
Makefile.frag Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
php-fpm.8.in Update year to 2021 2021-02-02 16:46:16 +01:00
php-fpm.conf.in Refactore FPM logging 2018-07-07 13:01:44 +01:00
php-fpm.service.in Fix bug #79014 (PHP-FPM & Primary script unknown) 2020-02-23 19:14:05 +00:00
status.html.in Merge branch 'PHP-7.2' into PHP-7.3 2019-04-20 19:12:31 +02:00
www.conf.in FPM: Add pm.status_listen option 2020-08-03 19:14:13 +01:00