Skip to main content

Module limits

Module limits 

Source
Expand description

Request size limit (C5) and rate limit (C6).

C5: Rejects requests exceeding max_bytes before JSON deserialization. C6: Token bucket rate limiter, per connection, with configurable refill rate and burst capacity.

Structs§

TokenBucket
Token bucket rate limiter.

Functions§

check_request_size
Checks request body size against the configured limit (C5).