diff options
author | Vincent Petry <pvince81@owncloud.com> | 2017-01-13 12:55:08 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-01-23 12:33:20 +0100 |
commit | 0aaf209c667250b2b5ad5eedd8af0807136e46d4 (patch) | |
tree | bf833bd1a086ef95261f4541d41499b8e80cd0b7 /apps | |
parent | 012e52123900dcaab29989ab12b1848abe8d0a11 (diff) | |
download | nextcloud-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')
-rw-r--r-- | apps/dav/appinfo/v1/webdav.php | 1 | ||||
-rw-r--r-- | apps/dav/appinfo/v2/remote.php | 1 |
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(); |