You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Return compact peer list by default when compact param is absent (BEP 23) #1986
Fix the HTTP tracker announce handler to return the compact peer list by default when the client omits the compact GET parameter, aligning the tracker with the SUGGESTION in BEP 23.
Background
BEP 23 states: "It is SUGGESTED that trackers return compact format by default." The current implementation only returns compact when compact=1 is explicit. When absent, it falls through to non-compact (dictionary) format.
Scope
Invert the compact-default logic in build_response so None maps to compact
Remove the deviation NOTICE in packages/axum-http-server/src/lib.rs
Rename and invert the contract test
Remove the code-review comment that flagged this deviation
Activity
docs(issue): add spec for compact peer list default per BEP 23 (ref t…
docs(issue): add spec for compact peer list default per BEP 23 (ref t…
Merge #1988: docs(issues): add specs for HTTP announce request parame…
Merge torrust#1990: fix(axum-http-server): return compact peer list b…
Merge #2021: chore(issues): archive closed specs and enforce dual-for…