"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:25:19 +00:00
parent a9c72d6117
commit 0ffbea8b2b
2 changed files with 3 additions and 2 deletions

View File

@ -55,7 +55,7 @@ Prefix: /usr/share
Distribution: %{distribution}
Source0: %{name}_%{version}.orig.tar.gz
Source0: %{name}-%{version}.tar.gz
Source1: %{name}-egw-pear-%{version}.tar.bz2
Source2: %{name}-stylite-%{version}.tar.bz2
Source3: %{name}-gallery-%{version}.tar.bz2

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();