radicle-heartwood-lfs/crates/radicle-protocol
Fintan Halpenny 613c4e83e0 protocol: separate subscribers by RefsAt
It was found that if a fetch was started for a specific `Vec<RefsAt>`
and a following general, i.e. empty, `Vec<RefsAt>` was queued, the
subscriber for the general one would be removed when the specific
fetch completed.

This behaviour is undesirable, since the general fetch could
potentially fetch more data.

To prevent this from happening, the `Vec<RefsAt>` is added to the
`FetchKey`, so that `subscribers` are matched with the set of
references they want to hear results for.

A test was added for the above scenario.
2026-02-13 12:49:37 +01:00
..
src protocol: separate subscribers by RefsAt 2026-02-13 12:49:37 +01:00
Cargo.toml protocol: Introduce `FetcherState` 2026-02-05 20:04:28 +01:00