httpalso: Support being used with special remotes that use chunking.

Sponsored-by: k0ld on Patreon
This commit is contained in:
Joey Hess 2023-06-20 13:20:08 -04:00
parent 958c2fa6d2
commit a861d56428
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
6 changed files with 52 additions and 18 deletions

View file

@ -137,8 +137,12 @@ sameasInherits = S.fromList
, pubkeysField
-- legacy chunking was either enabled or not, so has to be the same
-- across configs for remotes that access the same data
-- (new-style chunking does not have that limitation)
, chunksizeField
-- (new-style chunking does not have that limitation)
-- but there is no benefit to picking a different chunk size
-- for the sameas remote, since it's reading whatever chunks were
-- stored
, chunkField
]
{- Each RemoteConfig that has a sameas-uuid inherits some fields