git-annex/P2P
Joey Hess 7c588a5791
implement remove-before
The reason to use removeBeforeRemoteEndTime is twofold.

First, removeBefore sends two protocol commands. Currently, the HTTP
protocol runner only supports sending a single command per invocation.

Secondly, the http server gets a monotonic timestamp from the client. So
translating back to a POSIXTime would be annoying.

The timestamp flow with a proxy will be:

- client gets timestamp, which gets the monotonic timestamp from the
  proxied remote via the proxy. The timestamp is currently not
  proxied when there is a single proxy.
- client calls remove-before
- http server calls removeBeforeRemoteEndTime which sends REMOVE-BEFORE
  to the proxied remote.
2024-07-10 10:03:26 -04:00
..
Http implement serveRemove and send WWW-Authenticate header on auth failure 2024-07-10 09:13:01 -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 use REMOVE-BEFORE in P2P protocol 2024-07-04 13:47:38 -04:00
Auth.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Http.hs implement remove-before 2024-07-10 10:03:26 -04:00
IO.hs factor out Utility.MonotonicClock 2024-07-03 17:54:01 -04:00
Protocol.hs implement remove-before 2024-07-10 10:03:26 -04:00
Proxy.hs Revert "proxy local timestamps in single proxy case as well as cluster case" 2024-07-10 09:45:23 -04:00