Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OTC:Tools
libs3
libs3-largerpart.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libs3-largerpart.diff of Package libs3
Index: libs3/src/s3.c =================================================================== --- libs3.orig/src/s3.c +++ libs3/src/s3.c @@ -2062,9 +2062,9 @@ static int putObjectDataCallback(int buf return ret; } -#define MULTIPART_CHUNK_SIZE (15 << 20) // multipart is 15M +#define MULTIPART_CHUNK_SIZE (128 << 20) // multipart is 128M typedef struct MultipartPartData { put_object_callback_data put_object_data; int seq; @@ -2497,9 +2497,9 @@ upload: partData.seq = seq; partData.put_object_data = data; partContentLength = ((contentLength > MULTIPART_CHUNK_SIZE) ? MULTIPART_CHUNK_SIZE : contentLength); - printf("%s Part Seq %d, length=%d\n", srcSize ? "Copying" : "Sending", seq, partContentLength); + printf("%s Part Seq %d/%d, length=%d\n", srcSize ? "Copying" : "Sending", seq, totalSeq, partContentLength); partData.put_object_data.contentLength = partContentLength; partData.put_object_data.originalContentLength = partContentLength; partData.put_object_data.totalContentLength = todoContentLength; partData.put_object_data.totalOriginalContentLength = totalContentLength;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor