View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004472 | Composr | core | public | 2020-11-22 03:24 | 2020-11-22 03:24 |
Reporter | Chris Graham | Assigned To | Chris Graham | ||
Severity | Minor-bug | ||||
Status | resolved | Resolution | fixed | ||
Product Version | 10.0.33 | ||||
Fixed in Version | 10.0.34 | ||||
Summary | 0004472: Avoid explicit exiting if possible | ||||
Description | Composr adds explicit exit() for all AJAX scripts, to stop webhosts jamming in extra junk to what is supposed to be XML (for example), and corrupting it. It's a common enough problem that we have to work it into the framework. However, exit is a performance issue on FastCGI as it seems to (although I've not good a definitive source) cause actual PHP processes to exit, not just the PHP script to finish. This degrades the whole point of FastCGI. | ||||
Tags | No tags attached. | ||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
Fixed in git commit d74e66b52 (https://gitlab.com/composr-foundation/composr/commit/d74e66b52 - link will become active once code pushed to GitLab) |