History log of /PHP-8.2/tests/basic/header_register_callback_after_output.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 9bff9639 16-Sep-2021 Nikita Popov

Don't leak header callback if headers already sent

We need to avoid storing it in the first place, as we don't
really have a good place to release it later. If headers haven't
been s

Don't leak header callback if headers already sent

We need to avoid storing it in the first place, as we don't
really have a good place to release it later. If headers haven't
been sent yet, send_headers will do this. sapi_deactive happens
too late in the shutdown sequence and will result in leak reports.

show more ...