Commit 8d4437a
fix: 🐛 handle negative lock timeout sentinel from files_lock
When files_lock is configured with the default infinite timeout (-1 min),
the server sends nc:lock-timeout=-60 via PROPFIND. The previous guard only
checked for == 0, causing getLockedUntil() to compute a timestamp 60s in
the past, making the lock appear expired immediately.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>1 parent f8fb1f2 commit 8d4437a
1 file changed
Lines changed: 3 additions & 1 deletion
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
128 | | - | |
| 129 | + | |
| 130 | + | |
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
| |||
0 commit comments