git-annex/P2P
Joey Hess 2fc3fbfed2
support DATA-PRESENT in the p2p protocol proxy
But not yet when proxying to special remotes.

When proxying for a cluster, the client can store the object on any node
or nodes of the cluster, and send DATA-PRESENT. That gets proxied to each
node, and if any of them agree that they have the data, the proxy will
respond with SUCCESS or SUCCESS-PLUS.

I think it's ok to not check for the proxied remotes supporting protocol
version 4. When there are multiple remotes in a cluster, it behaves as
described above, and if they all respond with ERROR, the result will be
FAILURE. And when not proxying for a cluster, the proxy negotiates the
p2p protocol to be the same version or lower than the proxied remote,
which will prevent sending DATA-PRESENT when it's too old.
2024-10-29 14:44:23 -04:00
..
Http implement put data-present parameter in http servant 2024-10-29 13:32:43 -04:00
Address.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Annex.hs remove FIXME 2024-08-24 09:34:22 -04:00
Auth.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Http.hs implement put data-present parameter in http servant 2024-10-29 13:32:43 -04:00
IO.hs fix hang at end of PUT to proxied p2p http remote 2024-07-26 19:50:15 -04:00
Protocol.hs implement DATA-PRESENT in p2p protocol 2024-10-29 13:12:12 -04:00
Proxy.hs support DATA-PRESENT in the p2p protocol proxy 2024-10-29 14:44:23 -04:00