Skip to main content

ip_rate_limit

Function ip_rate_limit 

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

Applies trusted-proxy IP limits. Missing peers/UDS share a localhost bucket and ignore headers. Products should disable IP limits or use keyed limits on UDS deployments.