implemented serveLockContent (untested)

This commit is contained in:
Joey Hess 2024-07-22 17:36:56 -04:00
parent d5eaf0f567
commit f5dd7a8bc0
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 48 additions and 19 deletions

View file

@ -28,12 +28,12 @@ Planned schedule of work:
## work notes
* Implement serveLockContent
* Test serveLockContent
* A Locker should expire the lock on its own after 10 minutes initially.
* Since each held lock needs a connection to a proxy, the Locker
could reference count, and avoid holding more than one lock per key.
* serveKeepLocked should check auth just to be safe, although added
security is probably minimal.
* Make Remote.Git use http client when remote.name.annex-url is configured.