]> source.dussan.org Git - nextcloud-server.git/commit
Fix reading empty files from objectstorage 22651/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Mon, 7 Sep 2020 18:53:56 +0000 (20:53 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Wed, 9 Sep 2020 18:45:13 +0000 (20:45 +0200)
commitbb06b6cce46df881d84f34adfd5b1c3f315bd718
tree1a14bf3cd41c4c13fe968e994277aa595ab8ecc6
parentcd563023dbceede717b22ce559f3efdf92b1da31
Fix reading empty files from objectstorage

Since we try to do range requests this will fail hard.
However since empty files are not that interesting to read anyways we
just read from an emptry memory stream.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
apps/files_external/lib/Lib/Storage/AmazonS3.php
lib/private/Files/ObjectStore/ObjectStoreStorage.php