Skip to content

Timeout decreasing on each lock refresh #12

@rhizoome

Description

@rhizoome

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.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions