From 0aaf209c667250b2b5ad5eedd8af0807136e46d4 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Fri, 13 Jan 2017 12:55:08 +0100 Subject: Prevent PHP request to get killed when using fclose callback (#26775) * Prevent PHP request to get killed when using fclose callback * Add ignore_user_abort everywhere where the time limit is set to 0 Signed-off-by: Robin Appelman --- apps/dav/appinfo/v2/remote.php | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/dav/appinfo/v2') diff --git a/apps/dav/appinfo/v2/remote.php b/apps/dav/appinfo/v2/remote.php index ab05e376503..b4a6578a41a 100644 --- a/apps/dav/appinfo/v2/remote.php +++ b/apps/dav/appinfo/v2/remote.php @@ -21,6 +21,7 @@ */ // no php execution timeout for webdav set_time_limit(0); +ignore_user_abort(true); // Turn off output buffering to prevent memory problems \OC_Util::obEnd(); -- cgit v1.2.3