-
Notifications
You must be signed in to change notification settings - Fork 34
Description
I am not at all sure, what component of the following bug is at fault. The components are LibreOffice using Neon and a commercial WebDav-Server.
The server returns the time until the lock expires as it currently measures it. So it will be less than the requested timeout.
The following happens:
client -> Second-3
server -> Second-2
client -> Second-2
server -> Second-1
client -> Second-0
BOOM. I don't know who is wrong. If I read the spec I think the client is wrong. The clients should always request the timeout it wants and not the timeout returned by the server. This line will update the requested timeout with the timeout returned by the server.
Line 841 in 5a0f553
| lock->timeout = ctx.active.timeout; |
I am also not sure if how LibreOffice uses Neon is wrong. Please let me know what you think, so I can decide where to fix the problem.