aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/weedfs_dir_read.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2025-12-09 10:24:35 -0800
committerGitHub <noreply@github.com>2025-12-09 10:24:35 -0800
commitb4e2cca20488198370bc25432726e7f510d37da8 (patch)
tree9240471c325a9725480f2e35b61fa243c5dfb539 /weed/mount/weedfs_dir_read.go
parentd6d893c8c374ff78bb7704b4da6666d36939bf1b (diff)
downloadseaweedfs-b4e2cca20488198370bc25432726e7f510d37da8.tar.xz
seaweedfs-b4e2cca20488198370bc25432726e7f510d37da8.zip
s3api: remove redundant auth verification in getRequestDataReader (#7685)
* 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
Diffstat (limited to 'weed/mount/weedfs_dir_read.go')
0 files changed, 0 insertions, 0 deletions