public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox 0/2] fix non-optional date header for S3 api response parsing
@ 2025-08-08 11:41 Christian Ebner
  2025-08-08 11:41 ` [pbs-devel] [PATCH proxmox 1/2] s3-client: fix non-optional date header for " Christian Ebner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Christian Ebner @ 2025-08-08 11:41 UTC (permalink / raw)
  To: pbs-devel

Fixes an implementation oversight with possibly missing http date
headers in the S3 API response parsing. The header is included in
the response by almost all providers, but it is documented as being
optional.

Also, includes regression tests for the http date header parsing.

Since the now optional date header in responses is currently not used
by any code path (it was only ever considered for time drift detection
between host and s3 provider), no further adaptions are required.

This will avoid issues as reported in:
https://forum.proxmox.com/threads/169395/

Christian Ebner (2):
  s3-client: fix non-optional date header for api response parsing
  s3-client: add regression tests for http date header parsing

 proxmox-s3-client/src/response_reader.rs | 57 +++++++++++++++++++-----
 proxmox-s3-client/src/timestamps.rs      |  2 +-
 2 files changed, 48 insertions(+), 11 deletions(-)

-- 
2.47.2



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-08-11 12:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-08 11:41 [pbs-devel] [PATCH proxmox 0/2] fix non-optional date header for S3 api response parsing Christian Ebner
2025-08-08 11:41 ` [pbs-devel] [PATCH proxmox 1/2] s3-client: fix non-optional date header for " Christian Ebner
2025-08-08 11:41 ` [pbs-devel] [PATCH proxmox 2/2] s3-client: add regression tests for http date header parsing Christian Ebner
2025-08-11 12:30 ` [pbs-devel] applied-series: [PATCH proxmox 0/2] fix non-optional date header for S3 api response parsing Fabian Grünbichler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal