Duplicate
Pinned fields
Click on the next to a field label to start pinning.
Details
Mana
4Assignee
UnassignedUnassignedQA Assignee
Dylan HaussermannDylan HaussermannReporter
Jesse HallamJesse HallamFix versions
QA Testing Areas
API
Details
Details
Mana
4
Assignee
Unassigned
UnassignedQA Assignee
Dylan Haussermann
Dylan HaussermannReporter
Jesse Hallam
Jesse HallamFix versions
QA Testing Areas
API
Checklist
Checklist
Checklist
Created September 6, 2018 at 1:21 PM
Updated June 10, 2024 at 6:04 PM
Resolved October 5, 2020 at 5:30 PM
https://mattermost.atlassian.net/browse/MM-10677 was resolved by loading the stream back into a buffer to extract the length, and fix the parameter being passed to the S3 library.
An alternative is to re-implement a multi-part fileupload as described in https://github.com/minio/minio-go/issues/848 and chunk the stream instead. This would avoid allocating another file-size buffer in cases where large files are being uploaded.
Reach out to jesse.hallam on pre-release if you have any questions.