Skip to content

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

Draft
backportbot[bot] wants to merge 1 commit into
stable34from
backport/1361/stable34
Draft

backportbot[bot] wants to merge 1 commit into
stable34from
backport/1361/stable34

Conversation

@backportbot

@backportbot backportbot Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Backport of #1361

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

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>

[skip ci]
@backportbot
backportbot Bot requested a review from benjaminfrueh October 15, 2026 14:50
@backportbot backportbot Bot added bug Something isn't working 3. to review labels Oct 15, 2026
@backportbot backportbot Bot added this to the Nextcloud 34.0.6 milestone Oct 15, 2026

This branch has not been deployed

No deployments
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.

1 participant