Releases: awslabs/aws-c-s3
Checksums
CopyObject meta request bug fixes
Invoke headers callback when CopyObject request is bypassed
Prior to this fix the headers callback was invoked only
when the Copy meta request performed a multi-part copy, but not
when the object was small and resulted in a bypassed CopyObject request.
This commit fixes the issue, invoking the headers callback
in both cases.
Support leading slash in x-amz-copy-source
The CopyObject meta request required the x-amz-copy-source
to be in strict form of {bucket}/{key}
.
But as per S3 docs, /{bucket}/{key}
is also valid.
This fix adds support for both formats.
NOT CMAKE_CROSSCOMPILING
Don't build samples when crosscompiling
Remove Content-MD5 in CopyObject meta request
The Content-MD5 header is not supported in UploadPartCopy
requests. This update removes the logic that would compute
Content-MD5 when it was included in the meta request.
CopyObject progress callback
- Added progress callback to CopyObject meta request
- Updated CLI sample to show progress bar when copying objects from S3 to S3
CopyObject meta request and sample command line application
- The new meta request type
AWS_S3_META_REQUEST_TYPE_COPY_OBJECT
performs a multi-part copy using multipleUploadPartCopy
requests in parallel, or bypasses aCopyObject
request to S3 if the object size is not large enough for a multipart upload - Command line sample app similar to aws-cli
s3
command implementingcp
andls
Enable headers callback invocation for failed requests
For Default meta requests, the response headers callback was called
only for successful responses. This release enables the callback invocation on errors too.
Remove using of try_lock
- Try lock is not available in Windows Server 2008. Remove it from our debug build
Fix build
Update default max part size to 4GB for 32bit, and 5GB for 64bit
Issue #, if available:
- previous 32MB max part size cannot support huge files(large than 0.3TB)
Description of changes:
- Update the max part size to 4GB for 32bit, and 5GB for 64bit. The server side limit is https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html.