Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ github-issue: 2776
spec-path: docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md
branch: "2776-axum-server-0-9-timeouts-spec"
related-pr: 2813
last-updated-utc: "2026-11-13 09:42"
last-updated-utc: "2026-11-17 08:53"
Comment thread
josecelano-bot marked this conversation as resolved.
Resolved
Comment thread
josecelano-bot marked this conversation as resolved.
Resolved
semantic-links:
skill-links:
- create-issue
Expand Down Expand Up @@ -180,7 +180,7 @@ Status values: `TODO`, `IN_PROGRESS`, `BLOCKED`, `DONE`.
| T5 | DONE | Compare idle bounds with and without `TimeoutAcceptor`, HTTP/1 and HTTP/2, then decide | Evidence from M4 for both builds and both protocols; wrapper removed, or kept with reason |
| T6 | DONE | Decide timeout configurability; record the TLS handshake timeout behaviour | Progress-log decision; constants or configuration keys documented |
| T7 | DONE | Update EPIC #2411 case A2 and controls, remove stale comments, update docs | EPIC rows match the new behaviour; no stale "TLS does not work" comments |
| T8 | TODO | Close or link #324, #612, #613 and #603 checklist | Maintainer action; issue links recorded in the progress log |
| T8 | DONE | Close or link #324, #612, #613 and #603 checklist | Maintainer action; issue links recorded in the progress log |
| T9 | DONE | Green run and final like-for-like recheck after the last production change | T1 probes repeated on the final build, named by its Conventional Commit subject |

## Commit Points
Expand Down Expand Up @@ -232,6 +232,7 @@ with GPG.
- 2026-11-11 11:03 UTC - Claude Code (Claude Sonnet 5.5) - Review round 2 (da2ce7, findings F9 to F29 of their numbering): the ADR moved to `docs/adrs/` because the placement ADR puts protocol behaviour at the root; the README states the HTTP/2 condition (a client that answers pings is not time-bounded); the `signals.rs` test listener and the `token_aware_drain` example use the shared constructor, and `clippy.toml` also forbids `axum::serve` and the unix constructors; stamps use commit times, attributions to the maintainer are dropped and AC4 reads "no worse than with the wrapper". Audit: `docs/pr-reviews/pr-2813-review/PR-REVIEW.md`.
- 2026-11-11 12:30 UTC - Claude Code (Claude Sonnet 5.5) - PR #2813 merged (merge commit `a83f3ef29`) after two review rounds; the audit and retrospective are in `docs/pr-reviews/pr-2813-review/`. Spec moved to `docs/issues/closed/`. T8 / AC7 stay with the maintainer: #324, #612, #613 and #603 remain open until he reviews them.
- 2026-11-12 16:24 UTC - Claude Code (Claude Sonnet 5.5) - T8 / AC7 disposition recorded in [related-issues.md](related-issues.md): #612 and #613 fixed by #2813, #603 closes with them, #324 stays open re-scoped to EPIC #2411 case A1. The maintainer closes or comments on GitHub.
- 2026-11-17 08:53 UTC - Claude Code (Claude Opus 5.5) - T8 / AC7 done: #612, #613 and #603 closed on 2026-11-16, each with a comment linking [related-issues.md](related-issues.md); the maintainer also closed #324 on 2026-11-17 instead of keeping it open, since its remaining work is EPIC #2411 case A1. The disposition file is updated to match.
Comment thread
josecelano-bot marked this conversation as resolved.
Resolved

## Acceptance Criteria

Expand All @@ -241,7 +242,7 @@ with GPG.
- [x] AC4: An idle persistent connection after a response is closed in bounded time, no worse than with the wrapper (V8), measured on the replacement build: HTTP/1 after 5 s, HTTP/2 after about 10 s (5 s keep-alive interval plus 5 s ping reply wait). The maintainer accepted the HTTP/2 figure on 2026-11-11; a client that answers pings is not time-bounded (EPIC #2411 case A1).
- [x] AC5: `TimeoutAcceptor` and its helper types are removed only after AC4 is shown by a comparison with and without the wrapper for HTTP/1 and HTTP/2; otherwise the spec records why they stay.
- [x] AC6: EPIC #2411 case A2 and the existing-controls rows describe the new behaviour; the stale "TLS does not work" comments are gone.
- [ ] AC7: #324, #612 and #613 are closed or linked to this issue, and the #603 checklist is updated.
- [x] AC7: #324, #612 and #613 are closed or linked to this issue, and the #603 checklist is updated.
- [x] `linter all` exits with code `0`
- [x] Relevant tests pass
- [x] Manual verification scenarios are executed and documented in issue-local `manual-verification-evidence.md`
Expand Down Expand Up @@ -291,7 +292,7 @@ None planned.
| AC4 | DONE | V8: HTTP/1 idle after response 5.0 s; HTTP/2 10.0 s with and without the wrapper; maintainer accepted HTTP/2 about 10 s on 2026-11-11 |
| AC5 | DONE | V8 comparison; wrapper and helper types removed in `refactor(axum-server): [#2776] remove the TimeoutAcceptor wrapper` |
| AC6 | DONE | EPIC #2411 case A2 and Existing Controls rows rewritten; the stale "TLS does not work" comment was removed with the wrapper |
| AC7 | TODO | Maintainer action (T8): #324, #612, #613 stay open until the maintainer closes them after the fix; #603 checklist then updated |
| AC7 | DONE | #612, #613 and #603 closed 2026-11-16, #324 closed 2026-11-17, each with a comment linking [related-issues.md](related-issues.md) |
Comment thread
josecelano-bot marked this conversation as resolved.
Resolved

## Risks and Trade-offs

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
doc-type: related-issues-disposition
issue-spec: docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md
last-updated-utc: "2026-11-14 07:59"
last-updated-utc: "2026-11-17 08:53"
semantic-links:
related-artifacts:
- docs/issues/closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md
Expand Down Expand Up @@ -38,14 +38,18 @@ Evidence used below:
- EPIC [#2411](../../open/2411-spam-and-abuse-resistance/EPIC.md): case A2 (connections without a
client timeout, mitigated by #2776) and case A1 (no request-rate or connection limit, still open).

## Status

All four issues are closed on GitHub: #612, #613 and #603 on 2026-11-16, #324 on 2026-11-17.

## Summary

| Issue | Title | Disposition |
| ----- | -------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
| #612 | Tracker API: Add a timeout to the TLS handshake, waiting for headers, and waiting for receiving headers | Fixed by #2813; close |
| #613 | HTTP Tracker: Add a timeout to the TLS handshake, waiting for headers, and waiting for receiving headers | Fixed by #2813; close |
| #603 | Review missing timeouts (EPIC) | All items done once #612 and #613 close; close |
| #324 | Denial of Service attack factor | Keep open, re-scoped to EPIC #2411 case A1 |
| #324 | Denial of Service attack factor | Closed; remaining work in EPIC #2411 case A1 |
Comment thread
josecelano-bot marked this conversation as resolved.
Resolved

## #612 - Tracker API: Add a timeout to the TLS handshake, waiting for headers, and waiting for receiving headers

Expand Down Expand Up @@ -107,16 +111,18 @@ never disconnected, which the reporter considered a critical security flaw. The
raised a missing rate limit and lock contention under load. The reopening comment on #612 and #613
says the issue was reopened to consolidate those two.

Verdict: **keep open, re-scoped.** The idle-connection part is fixed by #2813 (baseline: the plaintext HTTP
Verdict: **closed** (maintainer, 2026-11-17). The first disposition (2026-11-12) kept it open,
re-scoped to EPIC #2411 case A1; the maintainer then closed it because the reported bug is fixed and
the remaining work is already recorded in the EPIC. The idle-connection part is fixed by #2813 (baseline: the plaintext HTTP
tracker and REST API listeners were already protected; the real gaps were TLS and the health check API, both now
closed). What stays valid is the rate-limiting half of the report. In particular, a client that
stays connected and answers HTTP/2 keep-alive pings is not time-bounded by the timeouts (recorded
in the ADR and in AC4 of the #2776 spec), and no connection or request-rate limit exists on the
HTTP tracker, REST API or health check API.

Remains open, and where it lives: [EPIC #2411](../../open/2411-spam-and-abuse-resistance/EPIC.md)
Remaining work, and where it lives: [EPIC #2411](../../open/2411-spam-and-abuse-resistance/EPIC.md)
case A1 ("No shared configurable request-rate policy"), whose evidence is detailed enough that no
new spec is drafted now. #324 is already a sub-issue of #2411. The rate-limiting design issue is
new spec is drafted now. The rate-limiting design issue is
the EPIC's subissue 4 (not yet created, deferred until after v4.0.0). Lock contention (`RwLock`)
is not a timeout topic and has no spec here.

Expand Down
4 changes: 2 additions & 2 deletions docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ epic: null
github-issue: 2411
spec-path: docs/issues/open/2411-spam-and-abuse-resistance/EPIC.md
epic-owner: josecelano
last-updated-utc: "2026-11-11 16:08"
last-updated-utc: "2026-11-17 08:53"
semantic-links:
skill-links:
- create-issue
Expand Down Expand Up @@ -112,7 +112,7 @@ Each control bounds one cost locally; none bounds aggregate work across requests

| Order | Issue | Local Spec | Status | Notes |
| --- | --- | --- | --- | --- |
| 1 | #324 - Denial of Service attack factor | None (pre-dates specs) | TODO | Existing open issue; linked as a sub-issue |
| 1 | #324 - Denial of Service attack factor | None (pre-dates specs) | DONE | Closed 2026-11-17: idle-connection part fixed by #2776; remaining rate-limiting work is A1 (subissue 4). See [related-issues.md](../../closed/2776-2411-axum-server-0-9-timeouts/related-issues.md) |
| 2 | #2417 - Verify whether HTTP scrape enforces the 74 info-hash limit | [ISSUE.md](../../closed/2417-2411-verify-http-scrape-info-hash-limit/ISSUE.md) | DONE | A3 |
| 3 | #2776 - Adopt `axum-server` 0.9 timeouts and close idle-connection gaps | [ISSUE.md](../../closed/2776-2411-axum-server-0-9-timeouts/ISSUE.md) | DONE | A2 |
| 4 | #[To be assigned] - Rate-limiting design | Not drafted | TODO | Highest-impact mitigation for its effort (A1); deferred until after v4.0.0 |
Expand Down
Loading