summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo/v1
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2017-01-13 12:55:08 +0100
committerRobin Appelman <robin@icewind.nl>2017-01-23 12:33:20 +0100
commit0aaf209c667250b2b5ad5eedd8af0807136e46d4 (patch)
treebf833bd1a086ef95261f4541d41499b8e80cd0b7 /apps/dav/appinfo/v1
parent012e52123900dcaab29989ab12b1848abe8d0a11 (diff)
downloadnextcloud-server-0aaf209c667250b2b5ad5eedd8af0807136e46d4.tar.gz
nextcloud-server-0aaf209c667250b2b5ad5eedd8af0807136e46d4.zip
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 <robin@icewind.nl>
Diffstat (limited to 'apps/dav/appinfo/v1')
-rw-r--r--apps/dav/appinfo/v1/webdav.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/appinfo/v1/webdav.php b/apps/dav/appinfo/v1/webdav.php
index f04bf406334..5ad11ceada8 100644
--- a/apps/dav/appinfo/v1/webdav.php
+++ b/apps/dav/appinfo/v1/webdav.php
@@ -25,6 +25,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();