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
ADR: reject malformed inbound protocol values unless real clients need the tolerance #2842
Record a repository-level ADR that says when the tracker tolerates a non-conforming client request and when it rejects it, so UDP and HTTP stop disagreeing by accident.
Background
Found while writing the primitives tests for EPIC #1347. The UDP announce accepted a negative left while HTTP rejects it (bug #2838, fixed in PR #2839), and Peer::is_seeder treated it as a seeder. No ADR covers values clients send; the existing tightest-protocol ADR covers values the tracker sends.
Maintainer position: tolerant implementations accept the widest range of clients, but strictness encourages good implementations, unless a meaningful share of real clients relies on the tolerant behavior.
Scope
In scope: one ADR in docs/adrs/ (rule, an empty register of tolerances, an inventory of existing inbound leniencies) and its index row. Docs only.
Out of scope: any production-code change (the left fix, rejection metrics, aligning the other inventory items); each becomes its own issue after the ADR merges.
Acceptance Criteria
The ADR states the rule: strict by default; tolerance only with recorded evidence; recorded in code and ADR; measurable; same over every delivery protocol; decided per field.
Activity
docs(adrs): [torrust#2842] align the inbound tolerance ADR with the b…
docs(adrs): [torrust#2842] add the layering rule and the byte-count f…
docs(adrs): [torrust#2842] cite the client evidence for the byte counts
docs(adrs): [torrust#2842] point the inbound tolerance ADR at issue t…
docs(adrs): [torrust#2842] state in the inventory that UDP still acce…
docs(adrs): [torrust#2842] describe the udp-core conversion as planne…
docs(adrs): [torrust#2842] stop attributing the sign of left to BEP 1…
docs(adrs): [torrust#2842] name the seeder count as the statistic a n…
docs(adrs): [torrust#2842] require verdict parity at the acceptance b…
docs(adrs): [torrust#2842] describe how num_want is handled on each p…
docs(adrs): [torrust#2842] record that HTTP rejects an announce ip th…
docs(adrs): [torrust#2842] reject malformed inbound protocol values u…
docs(adrs): [torrust#2842] align the inbound tolerance ADR with the b…
docs(adrs): [torrust#2842] add the layering rule and the byte-count f…
docs(adrs): [torrust#2842] cite the client evidence for the byte counts
9 remaining items
docs(adrs): [torrust#2842] align the inbound tolerance ADR with the b…
docs(adrs): [torrust#2842] add the layering rule and the byte-count f…
docs(adrs): [torrust#2842] cite the client evidence for the byte counts
docs(adrs): [torrust#2842] point the inbound tolerance ADR at issue t…
docs(adrs): [torrust#2842] state in the inventory that UDP still acce…
docs(adrs): [torrust#2842] describe the udp-core conversion as planne…
docs(adrs): [torrust#2842] stop attributing the sign of left to BEP 1…
docs(adrs): [torrust#2842] name the seeder count as the statistic a n…
docs(adrs): [torrust#2842] require verdict parity at the acceptance b…
docs(adrs): [torrust#2842] describe how num_want is handled on each p…
docs(adrs): [torrust#2842] record that HTTP rejects an announce ip th…
Merge torrust#2851: docs(adrs): [torrust#2842] reject malformed inbou…
Merge #2872: fix(udp-core)!: [#2850] make the number of bytes non-neg…
Merge #2884: chore(issues): archive closed issue #2850 and #2838 spec…