Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating all commits from forked branch #1

Open
wants to merge 83 commits into
base: master
Choose a base branch
from

Conversation

RajaBoseLeoM
Copy link

No description provided.

ellert and others added 30 commits May 28, 2016 06:11
startByte and byteCount variables are explicitly casted to neutral form to avoid incompatibility in uint64_t format string across platforms.
Empty header is not sent by curl, but gets included to the list of signed
headers and breaks authorization for minio. And probably for other
server implementations too.
Empty header is not sent by curl, but gets included to the list of signed
headers and breaks authorization for minio. And probably for other
server implementations too.
Fix OSX build error due to uint64_t format string incompatibility
Support older libcurl versions
Fix minio compatibility. Do not append empty Transfer-Encoding header.
Upgrade Authentication to use AWS Signature Version 4
fix S3_destroy_request_context() to correctly abort curl_multi context
bji and others added 30 commits May 24, 2017 11:23
Fix strip error when cross compiling.
Fix urlencode error according to AWS S3 documents.
create bucket: ignore response body
Fix crash in Windows by init and deinit libxml2 parser.
Make libs3 work with curl_multi_socket_action mode where libs3 user
will drive socket polling instructed directly by curl through a set
of callbacks.

This is an addition to the curl_multi_perform mode where libs3 does
the polling itself.
Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
Following AWS S3's increased single-object size limit, allow the upload of data > 5 GB
This fixes the following error encountered when uploading large files:

ERROR: ErrorMalformedXML
  Message: The XML you provided was not well-formed or did not
  validate against our published schema.

This becomes a problem after a previous patch increases the size limit for a single object, causing more than one growbuffer to be allocated for holding the XML.
Fixes "segfault while putting large files read from stdin"
extension to support curl_multi_socket_action operation
add bucket-owner-full-control for x-amz-acl
Increasing the chunk size avoids an issue where too many parts are uploaded, triggering an error when calling the S3 CompleteMultipartUpload API command.  The current limit on the number of parts per upload is 10,000 according to the S3 documentation (https://docs.aws.amazon.com/AmazonS3/latest/dev/qfacts.html)
S3_initiate_multipar will save param callbackData in struct InitialMultipartData,  and passed InitialMultipartData* as callback data to S3PropertiesCallback, which make a crash when extract user defined data from S3PropertiesCallback
is licensed under LGPLv3 *or above* or GPLv2 *or above* (user's choice).
libs3 fails to build with 7.62 currently:

    src/request.c: In function 'request_curl_code_to_status':
    src/request.c:1703:5: error: duplicate case value
         case CURLE_SSL_CACERT:
    src/request.c:1699:5: note: previously used here
         case CURLE_PEER_FAILED_VERIFICATION:
build: support curl >= 7.62
fix bug on S3_initiate_multipart
tok is set NULL in strtok_r loop, so free was called for NULL, instead of the original pointer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet