Overhaul core Tracker: review whitelist functionality#1269
Merged
josecelano merged 9 commits intotorrust:developfrom Feb 14, 2025
Merged
Conversation
Following HTTP structure.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1269 +/- ##
===========================================
+ Coverage 80.97% 81.23% +0.25%
===========================================
Files 207 212 +5
Lines 14762 14891 +129
Branches 14762 14891 +129
===========================================
+ Hits 11954 12096 +142
+ Misses 2610 2604 -6
+ Partials 198 191 -7 ☔ View full report in Codecov by Sentry. |
95eb3f7 to
dec742e
Compare
e01282b to
e48aaf5
Compare
168b5b6 to
dea33ed
Compare
dea33ed to
74815ab
Compare
281857a to
37a142e
Compare
…racker_core package
Member
Author
|
I cant' move the authentication functionality to the |
…cker_core package
6 tasks
Member
Author
|
ACK eca5c59 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overhaul core Tracker: review whitelist functionality.
Sub-tasks
servers::udp::handlers::{announce, scrape}.udp-tracker-corelater.services::announce::invoke()in the HTTP tracker to thehttp-tracker-corepackage.services::announce::invoke()in the UDP tracker to theudp-tracker-corepackage.http-tracker-corepackage.announcerequestscraperequestudp-tracker-corepackage.announcerequestscraperequestAdd version module also for the UDP tracker. I don't see any reason to useI will leave this until we introduce a new major version.v1in the http tracker but not in the UDP tracker.Sub-tasks for a new PR
I've left these tasks for a new issue. This PR is just moving things and the new tasks imply changing function signatures.
Result<AnnounceData, AnnounceError>when the torrent is not included in the whitelist.Result<ScrapeData, ScrapeError>so we are able to return errors in the future without breaking the public API.