Also, not quite sure, but I think RequestCloseSubscriber::onTerminate() calls ob_flush() in all situations, although OB is only started in _drupal_bootstrap_page_header() if !drupal_is_cli().
That logic was ported over from drupal_page_footer(). Since we want to eliminate the ob_flush() anyway that may not be an issue, but if we do keep it, we might want to do it less often? If we keep it and do it for every request, we should document why we are doing so since it seems odd.
|#11||1591682-output-buffering-11.patch||1 KB||Niklas Fiekas|
FAILED: [[SimpleTest]]: [MySQL] 36,805 pass(es), 10 fail(s), and 0 exception(s).
PASSED: [[SimpleTest]]: [MySQL] 36,681 pass(es).
PASSED: [[SimpleTest]]: [MySQL] 36,675 pass(es).