"switch of output buffering (switched on in header), as otherwise we run against memory_limit, for big files

only do it if no output_handler is set in php.ini, as at least with zlib.output_handler it stalls ...
if (!ini_get('output_handler')) ob_end_flush();
"
This commit is contained in:
Ralf Becker 2009-06-25 07:24:40 +00:00
parent 5e7b1d3fd6
commit 3cc9330725

View File

@ -90,7 +90,8 @@ catch (egw_exception_no_permission_app $e)
$headertime = microtime(true);
// switch of output buffering (switched on in header), as otherwise we run against memory_limit, for big files
ob_end_flush();
// only do it if no output_handler is set in php.ini, as at least with zlib.output_handler it stalls ...
if (!ini_get('output_handler')) ob_end_flush();
$webdav_server = new vfs_webdav_server();
$webdav_server->ServeRequest();