Revert "s3: turn off list v2 support for Alibaba OSS since it does not work"

This reverts commit 4f386a1ccd.

It turns out that Alibaba OSS does support list v2 and the detection
code was wrong.

This means that users of the gov version of Alibaba will have to add
`list_version 1` to their config files.

See #6600
This commit is contained in:
Nick Craig-Wood 2022-12-13 12:21:12 +00:00
parent 6c407dbe15
commit c446651be8

View File

@ -2755,7 +2755,6 @@ func setQuirks(opt *Options) {
mightGzip = false // Never auto gzips objects
case "Alibaba":
useMultipartEtag = false // Alibaba seems to calculate multipart Etags differently from AWS
listObjectsV2 = false // See #6600
case "HuaweiOBS":
// Huawei OBS PFS is not support listObjectV2, and if turn on the urlEncodeListing, marker will not work and keep list same page forever.
urlEncodeListings = false