mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-24 06:18:25 +00:00
Merge pull request #1425 from gaul/create-bucket/sse
Do not send SSE headers during bucket creation
This commit is contained in:
commit
757f4caee8
@ -3098,8 +3098,11 @@ int S3fsCurl::PutRequest(const char* tpath, headers_t& meta, int fd)
|
|||||||
}
|
}
|
||||||
// SSE
|
// SSE
|
||||||
std::string ssevalue;
|
std::string ssevalue;
|
||||||
if(!AddSseRequestHead(S3fsCurl::GetSseType(), ssevalue, false, false)){
|
// do not add SSE for create bucket
|
||||||
S3FS_PRN_WARN("Failed to set SSE header, but continue...");
|
if(0 != strcmp(tpath, "/")){
|
||||||
|
if(!AddSseRequestHead(S3fsCurl::GetSseType(), ssevalue, false, false)){
|
||||||
|
S3FS_PRN_WARN("Failed to set SSE header, but continue...");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(is_use_ahbe){
|
if(is_use_ahbe){
|
||||||
// set additional header by ahbe conf
|
// set additional header by ahbe conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user