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

Fix issues with chunked multipart uploads #1

Merged
merged 2 commits into from
Mar 16, 2023
Merged

Conversation

oniumy
Copy link

@oniumy oniumy commented Mar 12, 2023

These changes add support for chunked multipart uploads (used by clients with large files and enabled v4 authorization) and fix a bug in chunkedReader triggered by early read returns in the underlying request Body reader.

This fixes the issue described in rclone/rclone#6461 (comment)

oniumy added 2 commits March 12, 2023 14:16
The previous implementation expected inner.Read to always read until the end of the provided slice.
Multipart uploads can include chunked readers in the part upload as well.
@oniumy oniumy mentioned this pull request Mar 12, 2023
10 tasks
@Mikubill Mikubill merged commit 723f185 into rclone:master Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants