aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/s3api_put_object_helper.go
AgeCommit message (Collapse)AuthorFilesLines
11 dayss3api: remove redundant auth verification in getRequestDataReader (#7685)Chris Lu1-6/+1
* s3api: remove redundant auth verification in getRequestDataReader The handlers PutObjectHandler and PutObjectPartHandler are already wrapped with s3a.iam.Auth() middleware which performs signature verification via authRequest() before the handler is invoked. The signature verification for authTypeSignedV2, authTypePresignedV2, authTypePresigned, and authTypeSigned in getRequestDataReader was therefore redundant. The newChunkedReader() call for streaming auth types is kept as it's needed to parse the chunked transfer encoding and extract the actual data. Fixes #7683 * simplify switch to if statement for single condition
2025-06-19Fix chunked data reading if iam not enabled (#6898)Chris Lu1-1/+11
* fix chunked data reading if iam not enabled * add unit test
2025-05-01[s3] refactor duplicate put-object code paths (#6727)Taehyung Lim1-0/+30