mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[PR #486] [CLOSED] Fix SSE_C and SSE_KMS that return ETag that is not object MD5 #1519
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#1519
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/486
Author: @driskell
Created: 10/21/2016
Status: ❌ Closed
Base:
master← Head:fix_sse📝 Commits (1)
1547422Fix SSE_C and SSE_KMS that return ETag that is not object MD5📊 Changes
2 files changed (+29 additions, -29 deletions)
View changed files
📝
src/curl.cpp(+29 -27)📝
src/curl.h(+0 -2)📄 Description
This PR fixes EIO error when uploading parts with SSE_KMS (and probably SSE_C too) due to the ETag response from S3 not actually being the MD5 of the data. It disables the ETag check when SSE_KMS or SSE_C is in use, and it also uses the S3 returned ETag in CompleteMultiPartUpload otherwise you get a 400 error with InvalidPart.
Also, instead of using a
headerdatastring this now makes user of the existing header parser. It has to do this in order to parse out the returned ETag since it is different to the one we sent.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.