![]() |
libfilezilla
|
Classes for rate-limiting. More...


Go to the source code of this file.
Classes | |
| class | rate_limit_manager |
| Context for rate_limiters. More... | |
| class | bucket_base |
| Base class for buckets. More... | |
| class | rate_limiter |
| A limiter for the attached buckets. More... | |
| class | bucket |
| A rate-limited token bucket. More... | |
Namespaces | |
| fz | |
| The namespace used by libfilezilla. | |
Typedefs | |
| using | type = uint64_t |
Enumerations | |
| enum | : type { unlimited = static_cast<type>(-1) } |
| enum | type : size_t { inbound, outbound } |
Classes for rate-limiting.
Rate-limiting is done using token buckets with hierarchical limits. Rate is distributed fairly between buckets, with any overflow distributed between buckets still having capacity.
1.8.10