#4472 - Avoid explicit exiting if possible

Identifier #4472
Issue type Minor issue (breaks specific functionality)
Title Avoid explicit exiting if possible
Status Completed
Handling member Chris Graham
Version 10.0.33
Addon core
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.
Steps to reproduce

Funded? No
Commits

Fixed MANTIS-4472 (Avoid explicit exiting if possible) (d74e66b5) · Commits · Composr ecosystem / Composr · GitLab

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated