Merge pull request #1094 from larsch/master

Fix multipart upload not setting curl options
This commit is contained in:
Takeshi Nakatani 2019-07-15 05:13:37 +09:00 committed by GitHub
commit e936854493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3646,6 +3646,11 @@ int S3fsCurl::UploadMultipartPostRequest(const char* tpath, int part_num, const
return result;
}
if(!fpLazySetup || !fpLazySetup(this)){
S3FS_PRN_ERR("Failed to lazy setup in multipart upload post request.");
return -1;
}
// request
if(0 == (result = RequestPerform())){
// UploadMultipartPostComplete returns true on success -> convert to 0