fix(security): stop the rate-limit floor panicking actix's router #420
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/BUNYIP-426-audit-rollup-2026-07-30"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Runtime verification against a local stack found the F7 middleware cloning the inner
HttpRequestand holding it acrossservice.call. Actix's router then callsHttpRequest::match_info_mut, which unwrapsRc::get_mutand asserts it holds the only reference, so every non-exempt request panicked its worker and the client saw a dropped connection instead of a response. Borrowreq.request()for the duration of the subject resolution instead, and capture the path as aStringfor the throttled-request log line.A unit test greps the module for the clone so the shape cannot come back.
#BUNYIP-426