Skip to main content

browser_provisioning_rate_limit_middleware

Function browser_provisioning_rate_limit_middleware 

Source
pub async fn browser_provisioning_rate_limit_middleware(
    __arg0: State<Arc<RateLimiter>>,
    request: Request,
    next: Next,
) -> Response
Expand description

Rate-limit the public browser-provisioning route before accepted-state resolution or hybrid projection signing. A single stable bucket is intentional: this boundary may run without trustworthy peer-address metadata, and client-controlled forwarding headers must not select buckets.