Skip to content

Remove dead code in fpm of redirect_status #16090

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 28, 2024

Conversation

nielsdos
Copy link
Member

This is a feature copied from the CGI SAPI, but since CGI is always 0 in FPM, this code is dead. Similarly, the INI settings related to this are no longer used after removing this dead code.

I identified this a while back when working on the security fix for CGI.

This is a feature copied from the CGI SAPI, but since cgi is always 0 in
fpm, this code is dead. Similarly, the INI settings related to this are
no longer used after removing this dead code.
Copy link
Member

@bukka bukka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, this should really not be there.

@nielsdos nielsdos merged commit 6674213 into php:master Sep 28, 2024
10 checks passed
jorgsowa pushed a commit to jorgsowa/php-src that referenced this pull request Oct 1, 2024
This is a feature copied from the CGI SAPI, but since cgi is always 0 in
fpm, this code is dead. Similarly, the INI settings related to this are
no longer used after removing this dead code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants