From b62b835f6c6dba44d85085fa9377f8b0940e613f Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 10 Jul 2019 11:42:22 +0200 Subject: [PATCH] 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 --- lib/private/Files/ObjectStore/S3ObjectTrait.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/Files/ObjectStore/S3ObjectTrait.php b/lib/private/Files/ObjectStore/S3ObjectTrait.php index 7c46ba25c1..82ab4195e4 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 ] ];