proxying PUT now working

The almost identical code duplication between relayDATA and relayDATA'
is very annoying. I tried quite a few things to parameterize them, but
the type checker is having fits when I try it.
This commit is contained in:
Joey Hess 2024-06-11 16:56:52 -04:00
parent ed4fda098b
commit 5beaffb412
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 78 additions and 54 deletions

View file

@ -36,9 +36,9 @@ For June's work on [[design/passthrough_proxy]], implementation plan:
2. Remote instantiation for proxies. (done)
3. Implement proxying in git-annex-shell.
(Partly done, still need it for PUT, CONNECT, and NOTIFYCHANGES
messages.)
3. Implement git-annex-shell proxying for CONNECT and NOTIFYCHANGES.
(For completeness, they will only be used when using tor-annex
to access a proxy.)
4. Either implement proxying for local path remotes, or prevent
listProxied from operating on them. Currently it seems to work,