-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
flush() halts script after fastcgi_finish_request() #9741
Comments
PHP 7.4 is no longer actively supported. Does this also happen with PHP 8? |
sorry, my hosting support only 7.4.30 version, if someone else can check this bug |
You're missing
I feel there could be a notice about |
Ok, but error_get_last() is NULL in shutdown function (script execution fails, and no errors, in logs also). I think it is very important to report that the execution was aborted like in the case of "max_execution_time". Many young developers will spent many time to find why scripts halts.
|
I will change this to feature as adding a new error would not be added as a bug fix. It might need more consideration if it is actually right thing to do. In any case I don't see this as a bug. And I agree the the docs should get also updated. |
Actually I think it needs more investigating to see if there is potentially some bug or unexpected behaviour so will leave it as a bug. The proper investigation will show what this should be... :) |
After thinking about this, it should be handled a feature. I agree it might be worth to add a notice for this and also update docs. |
Adding a notice when something is output after the connection terminated, similar to what already exists when using |
Description
FPM/FastCGI Apache 2.4.54
PHP Version
PHP 7.4.30
Operating System
Linux 3.10.0-1062.12.1.el7.x86_64 Apache 2.4.54
The text was updated successfully, but these errors were encountered: