aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaehyung Lim <ehooizlo@gmail.com>2025-04-24 07:45:46 +0900
committerGitHub <noreply@github.com>2025-04-23 15:45:46 -0700
commitea941462f962c5a256844e530ec4ff40b958b022 (patch)
tree1256e2373e81c80ffb137726aaa03316e83448da
parent8c1cb203fadd06987fc4caf4846706b6ce0f2d9d (diff)
downloadseaweedfs-ea941462f962c5a256844e530ec4ff40b958b022.tar.xz
seaweedfs-ea941462f962c5a256844e530ec4ff40b958b022.zip
[s3] use chunkedReader in PutObjectPartHandler to handle aws-chunked encoding (#6725)
-rw-r--r--weed/s3api/s3api_object_handlers_multipart.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/s3api_object_handlers_multipart.go b/weed/s3api/s3api_object_handlers_multipart.go
index 95674e181..ef63e6e97 100644
--- a/weed/s3api/s3api_object_handlers_multipart.go
+++ b/weed/s3api/s3api_object_handlers_multipart.go
@@ -234,7 +234,7 @@ func (s3a *S3ApiServer) PutObjectPartHandler(w http.ResponseWriter, r *http.Requ
if s3a.iam.isEnabled() {
var s3ErrCode s3err.ErrorCode
switch rAuthType {
- case authTypeStreamingSigned:
+ case authTypeStreamingSigned, authTypeStreamingUnsigned:
dataReader, s3ErrCode = s3a.iam.newChunkedReader(r)
case authTypeSignedV2, authTypePresignedV2:
_, s3ErrCode = s3a.iam.isReqAuthenticatedV2(r)