Skip to content

Commit

Permalink
Merge branch '4.x' into 5.x
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Mar 1, 2020
2 parents 83291e9 + e1418d2 commit 1a47898
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Concerns/DisableBuffering.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Orchestra\Http\Concerns;

use Throwable;

trait DisableBuffering
{
/**
Expand All @@ -22,11 +20,9 @@ protected function disableOutputBuffering(): void
}

// Turn off PHP output compression
try {
\rescue(static function () {
\ini_set('zlib.output_compression', false);
} catch (Throwable $e) {
//
}
}, null, false);

// Implicitly flush the buffer(s)
\ini_set('implicit_flush', true);
Expand Down

0 comments on commit 1a47898

Please sign in to comment.