This repository has been archived by the owner on Apr 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fetch: only send changed wants and haves
This change limits the amount of `wants` and `haves` data that is sent to the serving side of a fetch. When a `RefsAt` announcement is sent, the fetching peer can calculate the difference between the `rad/sigrefs` they're aware of -- if it exists -- and the newly advertised `rad/sigrefs`. This means they can efficiently ask for the `wants` and `haves` of references that have changed -- saving some data sent over to the serving side. Signed-off-by: Fintan Halpenny <[email protected]> X-Clacks-Overhead: GNU Terry Pratchett
- Loading branch information
Showing
10 changed files
with
417 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.