mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[PR #2352] [MERGED] Set SSE headers when checking bucket #2495
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#2495
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/2352
Author: @jstastny
Created: 10/18/2023
Status: ✅ Merged
Merged: 10/18/2023
Merged by: @gaul
Base:
master← Head:js/check-bucket-sse📝 Commits (1)
d2b7848Set SSE headers when checking bucket📊 Changes
1 file changed (+8 additions, -0 deletions)
View changed files
📝
src/curl.cpp(+8 -0)📄 Description
Relevant Issue (if applicable)
Without this, the check fails when mounting a subdirectory in the bucket (for example
AWSSSECKEYS=vgXEublG7JJkhfRSZT1Ze3lefY2d7j3i s3fs -f -d -o bucket=my-bucket:/my-subdir/,complement_stat,allow_other,uid=0,gid=100,use_cache=/tmp/s3fs-cache,del_cache,ensure_diskfree=10000,curldbg,use_sse=custom /mnt/s3when using SSE.Before this PR, this would fail with:
Details
This adds the SSE headers to the
GEThttp request same as how it is done in other methods.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
CURL*in astd::unique_ptr#2577