Skip to content

fix(dav): extend the lock expiry on a WebDAV LOCK refresh - #1361

Open
gazziiii777 wants to merge 1 commit into
nextcloud:mainfrom
gazziiii777:fix/dav-lock-refresh-expiry
Open

gazziiii777 wants to merge 1 commit into
nextcloud:mainfrom
gazziiii777:fix/dav-lock-refresh-expiry

Conversation

@gazziiii777

Copy link
Copy Markdown

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

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 nextcloud#1343

Signed-off-by: gazziiii777 <gazziiii777@gmail.com>

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lock Refresh Failure with Microsoft-WebDAV-MiniRedir

1 participant