mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
mvc: ApiControllerBase->configdStream() - prevent zlib compression as this will add buffering as well, which will result in sluggish behavior for dashboard widgets when webui compression is enabled. (https://github.com/opnsense/core/issues/7244)
This commit is contained in:
parent
523c6af2f3
commit
177aa89b13
@ -178,6 +178,9 @@ class ApiControllerBase extends ControllerRoot
|
||||
],
|
||||
$poll_timeout = 2
|
||||
) {
|
||||
/* Never allow output compression on streams */
|
||||
ini_set('zlib.output_compression', 'Off');
|
||||
ob_end_clean();
|
||||
$response = (new Backend())->configdpStream($action, $params, $poll_timeout);
|
||||
foreach ($headers as $header) {
|
||||
header($header);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user