~bigbes/core-go: c2c2f384

objects: force UnsignedPayload for S3 uploads (phoebe-lab patch)

Carried production patch from the phoebe-lab SourceHut deployment
(patches/core-go-checksum.patch). Fixes streaming PutObject to a
non-AWS S3 backend (Garage) over plain HTTP, where the AWS SDK's
dynamic payload middleware only uses UnsignedPayload over HTTPS and
otherwise falls through to ComputePayloadSHA256, which seeks the
non-seekable request body (pages Publish tarball, builds artifact
stream) and fails. Force UnsignedPayload unconditionally and pin the
sigv4 signing region so the endpoint resolver does not reset it.

Not upstreamed.

bigbes <bigbes@gmail.com> — 2026-07-18 17:24:41 UTC

Commit c2c2f3848fa9a88d96952ff08f886483f8b9d1f7view raw patch

Parent(s): 71b27871

1 changed file(s)

FileStatus+
objects/middleware.go M +15 -1