diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-10-07 13:42:36 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-10-20 14:15:59 +0200 |
commit | 283798a2204bd19319d9ad07f9ff2e3d301a9f4a (patch) | |
tree | 70fe06eb392a3d177f924e03bd535eca26480ce4 /apps | |
parent | 760335c57df3338325eee0b17cabc9b887f7a5a7 (diff) | |
download | nextcloud-server-283798a2204bd19319d9ad07f9ff2e3d301a9f4a.tar.gz nextcloud-server-283798a2204bd19319d9ad07f9ff2e3d301a9f4a.zip |
remove locking for chunks
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/connector/sabre/file.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/dav/lib/connector/sabre/file.php b/apps/dav/lib/connector/sabre/file.php index df9d98b9792..961532daf50 100644 --- a/apps/dav/lib/connector/sabre/file.php +++ b/apps/dav/lib/connector/sabre/file.php @@ -350,13 +350,9 @@ class File extends Node implements IFile { throw new NotImplemented('Invalid chunk name'); } - $this->changeLock(ILockingProvider::LOCK_EXCLUSIVE); - $chunk_handler = new \OC_FileChunking($info); $bytesWritten = $chunk_handler->store($info['index'], $data); - $this->changeLock(ILockingProvider::LOCK_SHARED); - //detect aborted upload if (isset ($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'PUT') { if (isset($_SERVER['CONTENT_LENGTH'])) { |