Skip to content

Commit 779c2f3

Browse files
Принудительное отключение буферов
1 parent b1026b3 commit 779c2f3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bench.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@
2020

2121
$scriptVersion = '1.0.37';
2222

23+
header('X-Accel-Buffering: no', true);
24+
2325
ini_set('display_errors', 0);
2426
ini_set('error_log', null);
27+
ini_set('implicit_flush', 1);
28+
ini_set('output_buffering', 0);
29+
2530
error_reporting(E_ERROR | E_WARNING | E_PARSE);
2631
// Disable explicit error reporting
2732
$xdebug = ini_get('xdebug.default_enable');

0 commit comments

Comments
 (0)