aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/s3api_object_handlers_put.go
diff options
context:
space:
mode:
authorTom Crasset <25140344+tcrasset@users.noreply.github.com>2025-02-12 21:29:13 +0100
committerGitHub <noreply@github.com>2025-02-12 12:29:13 -0800
commit9604db2c93a08660c44a5dff6cb3addbe32f1783 (patch)
treeb37c318f353f9b128ea4eac0b3d76838548fe53a /weed/s3api/s3api_object_handlers_put.go
parent392656d59e5d768cbed9b0a92cbf8b815f342d1e (diff)
downloadseaweedfs-9604db2c93a08660c44a5dff6cb3addbe32f1783.tar.xz
seaweedfs-9604db2c93a08660c44a5dff6cb3addbe32f1783.zip
implement s3 streaming-unsigned-payload-trailer (#6539)
* implement s3 streaming-unsigned-payload-trailer * chore: remove print
Diffstat (limited to 'weed/s3api/s3api_object_handlers_put.go')
-rw-r--r--weed/s3api/s3api_object_handlers_put.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/s3api_object_handlers_put.go b/weed/s3api/s3api_object_handlers_put.go
index 9a0f01f8a..4c714f8c3 100644
--- a/weed/s3api/s3api_object_handlers_put.go
+++ b/weed/s3api/s3api_object_handlers_put.go
@@ -53,7 +53,7 @@ func (s3a *S3ApiServer) PutObjectHandler(w http.ResponseWriter, r *http.Request)
var s3ErrCode s3err.ErrorCode
switch rAuthType {
case authTypeStreamingSigned, authTypeStreamingUnsigned:
- dataReader, s3ErrCode = s3a.iam.newSignV4ChunkedReader(r)
+ dataReader, s3ErrCode = s3a.iam.newChunkedReader(r)
case authTypeSignedV2, authTypePresignedV2:
_, s3ErrCode = s3a.iam.isReqAuthenticatedV2(r)
case authTypePresigned, authTypeSigned: