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