Skip to content

Commit

Permalink
Prepare 4.3.0 release.
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
1 parent 9a4ab83 commit 586b2f7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG-4.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

This changelog references the relevant changes (bug and security fixes) done to `orchestra/kernel`.

## 4.3.0

Released: 2020-03-01

### Added

* Added `Orchestra\Http\Concerns\DisableBuffering`.


## 4.2.0

Released: 2020-01-04
Expand Down
8 changes: 2 additions & 6 deletions src/Http/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 586b2f7

Please sign in to comment.