aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-07-10 11:42:22 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2019-07-10 11:42:22 +0200
commite953205908c851ebba4d94e2ab55f1fba75c0352 (patch)
treebf631bb2a50844b15cf753610909474a80dbf99a /lib/private/Files
parentad51857e54666617544f22353312a9c0668022f9 (diff)
downloadnextcloud-server-e953205908c851ebba4d94e2ab55f1fba75c0352.tar.gz
nextcloud-server-e953205908c851ebba4d94e2ab55f1fba75c0352.zip
Use HTTP1.1 to read S3 objects
Some of the READs otherwise use HTTP/1.0 which is not always supported by all backends. HTTP/1.1 is there since 1999 way longer than S3 so safe to assume it is always there IMO. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Files')
-rw-r--r--lib/private/Files/ObjectStore/S3ObjectTrait.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Files/ObjectStore/S3ObjectTrait.php b/lib/private/Files/ObjectStore/S3ObjectTrait.php
index 7c46ba25c11..82ab4195e40 100644
--- a/lib/private/Files/ObjectStore/S3ObjectTrait.php
+++ b/lib/private/Files/ObjectStore/S3ObjectTrait.php
@@ -61,6 +61,7 @@ trait S3ObjectTrait {
}
$opts = [
'http' => [
+ 'protocol_version' => 1.1,
'header' => $headers
]
];