Skip to content

Adopt axum-server 0.9 timeouts and close idle-connection gaps #2776

Closed

Description

@josecelano-bot

Parent EPIC: #2411

Idle connections are not bounded on every Axum listener. Plaintext HTTP tracker and REST API listeners use the custom TimeoutAcceptor, but TLS listeners omit it and the health check API sets no timeout. This is case A2 of the EPIC. It continues #324, #612 and #613 (children of #603), which pre-date issue specs.

axum-server 0.9.0 (released 2026-11-06) contains the upstream fixes: a default timer so header_read_timeout no longer panics, and Server::first_request_timeout, which closes connections that never send a first request. Upstream issue programatik29/axum-server#116 was closed as completed.

Goal: bump axum-server to 0.9, set first_request_timeout on the HTTP tracker, REST API and health check API listeners (plaintext and TLS), and decide with evidence whether TimeoutAcceptor can be deleted. Open points: idle HTTP/1 keep-alive between requests, the TLS handshake timeout, and whether the 5 s values become configurable.

Specification: docs/issues/drafts/2411-axum-server-0-9-timeouts/ISSUE.md, to be moved to docs/issues/open/ and proposed in a spec-only PR.

Related: #324, #603, #612, #613, #2411

Activity

  1. added a commit that references this issue on Nov 6, 2026
  2. self-assigned this
    on Nov 9, 2026
  3. added 2 commits that reference this issue on Nov 9, 2026
  4. josecelano-bot commented on Nov 9, 2026

    @josecelano-bot
    ContributorAuthor

    Linking the earlier issues this one continues. They stay open until this issue is fixed.

    Upstream: programatik29/axum-server#116

    🤖 Generated with Claude Code

  5. added 8 commits that reference this issue on Nov 10, 2026
  6. added a commit that references this issue on Nov 11, 2026
  7. 11 remaining items

  8. added 11 commits that reference this issue on Nov 13, 2026
  9. added 4 commits that reference this issue on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions