1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00

Revert "Bug 1871: Workaround for lack of support for max-keys parameter in Backblaze S3 API"

This reverts commit 0a10ee2f87.

(cherry picked from commit 2b9b3ac0a7)

Source commit: 0a2e24f11a34866976a2d22023fb427ea0e3631a
This commit is contained in:
Martin Prikryl
2020-06-15 12:19:38 +00:00
parent bad313a51b
commit 6a3f53ea75

View File

@@ -872,12 +872,6 @@ void TS3FileSystem::ReadDirectoryInternal(
Retry = false;
// Backblack S3 API does not support "maxkeys" for bucket list
if (EndsText(L".backblazeb2.com", FTerminal->SessionData->HostNameExpanded))
{
MaxKeys = 0;
}
S3_list_service(
FLibS3Protocol, FAccessKeyId.c_str(), FSecretAccessKey.c_str(), 0, (FHostName + FPortSuffix).c_str(),
StrToS3(FAuthRegion), MaxKeys, FRequestContext, FTimeout, &ListServiceHandler, &Data);