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

This commit is contained in:
Ralf Becker 2009-06-18 11:00:50 +00:00
parent 35b70b36be
commit f32f24c055

View File

@ -89,6 +89,9 @@ catch (egw_exception_no_permission_app $e)
} }
$headertime = microtime(true); $headertime = microtime(true);
// switch of output buffering (switched on in header), as otherwise we run against memory_limit, for big files
ob_end_flush();
$webdav_server = new vfs_webdav_server(); $webdav_server = new vfs_webdav_server();
$webdav_server->ServeRequest(); $webdav_server->ServeRequest();
//error_log(sprintf("WebDAV %s request took %5.3f s (header include took %5.3f s)",$_SERVER['REQUEST_METHOD'],microtime(true)-$starttime,$headertime-$starttime)); //error_log(sprintf("WebDAV %s request took %5.3f s (header include took %5.3f s)",$_SERVER['REQUEST_METHOD'],microtime(true)-$starttime,$headertime-$starttime));