Skip to content

Commit

Permalink
mvc: configdStream: actually, ob_end_flush() is still necessary
Browse files Browse the repository at this point in the history
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 7c05e52.
  • Loading branch information
swhite2 committed Mar 25, 2024
1 parent 7c05e52 commit e23fee9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ protected function configdStream(
foreach ($headers as $header) {
header($header);
}

ob_end_flush();
fpassthru($response);
}

Expand Down

0 comments on commit e23fee9

Please sign in to comment.