Skip to content

[stable31] fix(S3): Only append streams if non-seekable - #55670

Merged
provokateurin merged 1 commit into
stable31from
backport/55654/stable31
Oct 10, 2025
Merged

[stable31] fix(S3): Only append streams if non-seekable#55670
provokateurin merged 1 commit into
stable31from
backport/55654/stable31

Conversation

@backportbot

Copy link
Copy Markdown

Backport of PR #55654

Later, when we rewind the stream in `writeMultiPart` during retry, both streams were rewinded, so the resulting stream was bigger than expected.
Inspired by https://github.com/aws/aws-sdk-php/blob/master/src/S3/ObjectUploader.php#L136-L146
Signed-off-by: Louis Chmn <louis@chmn.me>
@backportbotbackportbotBot added bug 3. to review Waiting for reviews php Pull requests that update Php code feature: object storage labels Oct 10, 2025
@backportbotbackportbotBot added this to the Nextcloud 31.0.10 milestone Oct 10, 2025
@provokateurin
provokateurin merged commit e9febe7 into stable31Oct 10, 2025
207 of 218 checks passed
@provokateurin
provokateurin deleted the backport/55654/stable31 branch October 10, 2025 14:32
@blizzzblizzz mentioned this pull request Oct 14, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbugfeature: object storagephpPull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@artonge@provokateurin