Skip to content

Commit d78b586

Browse files
committed
Flush with flush() after ob_end_flush()
1 parent 2184f32 commit d78b586

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Component/HttpFoundation/Response.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,6 +1236,7 @@ public static function closeOutputBuffers(int $targetLevel, bool $flush): void
12361236
while ($level-- > $targetLevel && ($s = $status[$level]) && (!isset($s['del']) ? !isset($s['flags']) || ($s['flags'] & $flags) === $flags : $s['del'])) {
12371237
if ($flush) {
12381238
ob_end_flush();
1239+
flush();
12391240
} else {
12401241
ob_end_clean();
12411242
}

0 commit comments

Comments
 (0)