Переглянути джерело

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

This reverts commit 0a10ee2f87ec6b5dc1a5b45ef700a6ca75b93f91.

(cherry picked from commit 2b9b3ac0a71bb5793738090d1c022fe607113deb)

Source commit: 0a2e24f11a34866976a2d22023fb427ea0e3631a
Martin Prikryl 5 роки тому
батько
коміт
6a3f53ea75
1 змінених файлів з 0 додано та 6 видалено
  1. 0 6
      source/core/S3FileSystem.cpp

+ 0 - 6
source/core/S3FileSystem.cpp

@@ -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);