radicle-heartwood-lfs/radicle-fetch/src
Fintan Halpenny b1435629f9
fetch: re-work transport::done signal call
The protocol requires that the fetcher signals to the remote that it
is done with the fetching process, so that the remote can exit out of
its upload-pack process.

The first change is that the `done` signal can happen before the
validation, since nothing else needs to be fetched.

The second change is that the fetcher does not care if the remote
responds to this signal since it has the data required for validation
and applying the changes to its refdb. Thus, if an error is
encountered then it is logged, but the rest of the process proceeds as
normal.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2024-03-11 11:42:15 +01:00
..
git fetch: allow fetch of annotated tags 2024-03-11 11:13:26 +01:00
transport fetch: assure that the final flush packet is consumed after receiving a pack 2023-11-17 12:24:10 +01:00
git.rs radicle-fetch 2023-11-06 12:06:13 +01:00
handle.rs Rename `Id` to `RepoId` 2024-01-22 15:51:44 +01:00
lib.rs fetch: re-work transport::done signal call 2024-03-11 11:42:15 +01:00
policy.rs Fix code around default policies 2024-01-25 21:11:08 +01:00
refs.rs radicle-fetch 2023-11-06 12:06:13 +01:00
sigrefs.rs radicle-fetch 2023-11-06 12:06:13 +01:00
stage.rs radicle: Rename many more methods using new naming 2023-12-06 10:02:00 +01:00
state.rs fetch: re-work transport::done signal call 2024-03-11 11:42:15 +01:00
transport.rs Update Rust toolchain to 1.74 2023-11-17 16:58:24 +01:00