mvc: configdStream: actually, ob_end_flush() is still necessary

Turns out there is still implicit buffering happening, the exception
thrown is due to a lack of error handling on the Phalcon side. Even
the PHP docs suggest silencing this with '@'.

This reverts commit 7c05e524b047e6d915b80994855a4e69d365645c.
This commit is contained in:
Stephan de Wit 2024-03-25 16:44:11 +01:00
parent 7c05e524b0
commit e23fee9ec7

View File

@ -180,7 +180,7 @@ class ApiControllerBase extends ControllerRoot
foreach ($headers as $header) {
header($header);
}
ob_end_flush();
fpassthru($response);
}