[pbs-devel] [PATCH proxmox v2] fix #7008: s3-client: drop unused optional object list v2 response fields

Christian Ebner c.ebner at proxmox.com
Tue Nov 11 16:20:29 CET 2025


On 11/11/25 4:08 PM, Fabian Grünbichler wrote:
> On November 11, 2025 3:47 pm, Christian Ebner wrote:
>> The ListObjectsV2 Response contains fields as bucket name, number of
>> keys, number of max keys of the response and prefix of the response
>> keys [0]. Since the AWS S3 API reference documentation does not
>> explicitly mention these fields as required, they are to be
>> considered optional and because they are currently not used other
>> than for response deserialization which will fail if missing, drop
>> these fields for now.
> 
> do we expect to have a use case for the mat some point? then it might be
> better to make them optional instead of dropping them altogether?
> 
> (not a nack, just a question ;))

No, that was also a reason to rather drop them (and thereby skip 
serialization) instead of making them optional here. They were only 
added during initial development because they seemed to be relevant 
enough to de-serialize, but then never actually used.




More information about the pbs-devel mailing list