Skip to content

[stable35] fix(dav): extend the lock expiry on a WebDAV LOCK refresh - #1366

Merged
benjaminfrueh merged 1 commit into
stable35from
backport/1361/stable35
Oct 15, 2026
Merged

benjaminfrueh merged 1 commit into
stable35from
backport/1361/stable35

Conversation

@backportbot

@backportbot backportbot Bot commented Oct 15, 2026

Copy link
Copy Markdown

Backport of PR #1361

A refresh wrote the client's Timeout from the original LOCK instead of from the refresh, so a native WebDAV lock died after the first Timeout regardless of refreshes and every later PUT got 412. Add the elapsed time to the stored lifetime so the expiry moves out from the refresh.

Fixes #1343

Assisted-by: Claude Code:claude-fable-5-1
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: gazziiii777 <gazziiii777@gmail.com>
@backportbot backportbot Bot added bug Something isn't working 3. to review labels Oct 15, 2026
@backportbot backportbot Bot added this to the Nextcloud 35.0.3 milestone Oct 15, 2026
@benjaminfrueh
benjaminfrueh merged commit 32be088 into stable35 Oct 15, 2026
46 checks passed
@benjaminfrueh
benjaminfrueh deleted the backport/1361/stable35 branch October 15, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants