http p2p proxy is now largely working

This commit is contained in:
Joey Hess 2024-07-26 10:24:23 -04:00
parent b391756b32
commit cc1da2d516
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
6 changed files with 180 additions and 87 deletions

View file

@ -28,9 +28,18 @@ Planned schedule of work:
## work notes
* Make http server support proxies and clusters.
* http server proxying hangs when git-annex copy --to it, maybe other
times. Need to fully test.
Current status: laying the keystone
* http server proxying needs to get the version negotiated with the proxied
remote and feed that into the proxy function.
* test http server proxying with special remotes
* http server proxying needs to reuse connections to special remotes,
keeping a pool of open ones. Question: How many to keep in the pool?
* Make http server support clusters.
* Support proxying to git remotes using annex+http urls.
(Current documentation says proxying only works with ssh remotes,
@ -51,6 +60,8 @@ Planned schedule of work:
* Allow using annex+http urls in remote.name.annexUrl
* Make http server support proxying.
## items deferred until later for p2p protocol over http
* `git-annex p2phttp` could support systemd socket activation. This would