Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Feb 18, 2025

If the stream is aborted and the callback wrapper returns false (or null as it happened in some cases), we should not try to write to the storage but abort the operation.

Checklist

If the stream is aborted and the callback wrapper returns false (or
null as it happened in some cases), we should not try to write to the
storage but abort the operation.

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux
Copy link
Contributor Author

susnux commented Feb 18, 2025

(I would like to add tests but I do not see how to mock the static class method of CallbackWrapper::wrap to return null).

@susnux
Copy link
Contributor Author

susnux commented Feb 18, 2025

/backport to stable31

@susnux
Copy link
Contributor Author

susnux commented Feb 18, 2025

/backport to stable30

@susnux susnux self-assigned this Feb 18, 2025
@skjnldsv skjnldsv merged commit 87813cd into master Feb 28, 2025
187 of 189 checks passed
@skjnldsv skjnldsv deleted the fix/dav-harden-stream-handling branch February 28, 2025 09:36
@skjnldsv
Copy link
Member

Let e adjust the cypress test @susnux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants