summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-01-23 13:51:43 -0600
committerGitHub <noreply@github.com>2017-01-23 13:51:43 -0600
commit9b0c6c0effe789cbc780a377b8800f65bf36b611 (patch)
tree67deb04ea8a5acfc20536417ac423092812369da /apps
parent30c32e0b1622f78ea7e3077ed0f12584fd0882a8 (diff)
parent0aaf209c667250b2b5ad5eedd8af0807136e46d4 (diff)
downloadnextcloud-server-9b0c6c0effe789cbc780a377b8800f65bf36b611.tar.gz
nextcloud-server-9b0c6c0effe789cbc780a377b8800f65bf36b611.zip
Merge pull request #3157 from nextcloud/fcloseafterkill
[uc] Prevent PHP request to get killed when using fclose callback (#26775)
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/appinfo/v1/webdav.php1
-rw-r--r--apps/dav/appinfo/v2/remote.php1
2 files changed, 2 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();
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();