-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
always use multipart uploader for s3 uploads #13866
Conversation
the multipart uploader handles non seekable streams while `upload` does not Signed-off-by: Robin Appelman <[email protected]>
did some quick "real life" testing, chunked uploads work as expected with this patch while they break on master |
it might still be useful to look into making the assembly stream seekable, as I expect that that would lead to faster uploading than having the multipart uploader work around it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code makes sense 👍
@icewind1991 Does this fix #13062? |
yes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works! 🚀
/backport to stable15 |
backport to stable15 in #13882 |
@MorrisJobke @icewind1991 Hi. Does this PR fix #8275? |
Does not look like, because this PR fixes uploads while the linked issue is most likely about downloads of images. |
the multipart uploader handles non seekable streams while
upload
does notFixes #13062