Skip to content

[stable32] fix(S3): Only append streams if non-seekable - #55671

Merged
provokateurin merged 1 commit into
stable32from
backport/55654/stable32
Oct 10, 2025
Merged

[stable32] fix(S3): Only append streams if non-seekable#55671
provokateurin merged 1 commit into
stable32from
backport/55654/stable32

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>
@backportbot
backportbotBot requested a review from a team as a code ownerOctober 10, 2025 12:43
@backportbot
backportbotBot requested review from artonge, icewind1991, leftybournes, provokateurin and sorbaugh and removed request for a teamOctober 10, 2025 12:43
@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 32.0.1 milestone Oct 10, 2025
@provokateurin
provokateurin merged commit ac7a14a into stable32Oct 10, 2025
218 of 222 checks passed
@provokateurin
provokateurin deleted the backport/55654/stable32 branch October 10, 2025 14:17
@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