Skip to content

runtime: there is no graceful backpressure or rejection when the iroh QUIC accept loop is saturated, meaning a burst of inbound connections can exhaust Tokio worker threads before the per-IP rate limit (issue #235) is enforced #433

Closed

Description

@alpergundogdu

The dispatch loop calls endpoint.accept() in a tight loop with no concurrency cap on the spawned handler tasks. Under a connection flood each accepted connection spawns a new task immediately, so thread-pool saturation and heap pressure occur before any per-IP accounting can shed load. A bounded semaphore on the accept loop would provide a hard ceiling independent of rate-limiting.


Filed via GitDailyReporterBot

Activity

  1. added
    kind:bug
    kind:security
    prio:high
    on May 6, 2026
  2. self-assigned this
    on May 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind:bugkind:securityprio:high

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions