From: Luca Toscano
+Description: Bandwidth Rate Limiting for Clients Status: Extension
-Module Identifier: ratelimit_module Source File: mod_ratelimit.c
+Source File: mod_ratelimit.c Compatibility: rate-initial-burst
available in httpd 2.4.24 and later.Summary
@@ -40,11 +41,20 @@
The connection speed to be simulated is specified, in KiB/s, using the environment
variable rate-limit
.
Optionally, an initial amount of burst data, in KiB, may be
+configured to be passed at full speed before throttling to the
+specified rate limit. This value is optional, and is set using
+the environment variable rate-initial-burst
.
<Location "/downloads"> SetOutputFilter RATE_LIMIT SetEnv rate-limit 400 + SetEnv rate-initial-burst 512 </Location>-
rate-limit
causes integer overflow, the rate-limited will be disabled.
+If the value specified for rate-limit-burst
causes integer overflow, the burst will be disabled.
+