You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by el...@apache.org on 2016/12/15 17:55:15 UTC
svn commit: r1774503 -
/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_ratelimit.html.en
Author: elukey
Date: Thu Dec 15 17:55:15 2016
New Revision: 1774503
URL: http://svn.apache.org/viewvc?rev=1774503&view=rev
Log:
Documentation rebuild
Modified:
httpd/httpd/branches/2.4.x/docs/manual/mod/mod_ratelimit.html.en
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_ratelimit.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_ratelimit.html.en?rev=1774503&r1=1774502&r2=1774503&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_ratelimit.html.en (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_ratelimit.html.en Thu Dec 15 17:55:15 2016
@@ -32,7 +32,8 @@
<table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Bandwidth Rate Limiting for Clients</td></tr>
<tr><th><a href="module-dict.html#Status">Status:</a></th><td>Extension</td></tr>
<tr><th><a href="module-dict.html#ModuleIdentifier">Module�Identifier:</a></th><td>ratelimit_module</td></tr>
-<tr><th><a href="module-dict.html#SourceFile">Source�File:</a></th><td>mod_ratelimit.c</td></tr></table>
+<tr><th><a href="module-dict.html#SourceFile">Source�File:</a></th><td>mod_ratelimit.c</td></tr>
+<tr><th><a href="module-dict.html#Compatibility">Compatibility:</a></th><td><code>rate-initial-burst</code> available in httpd 2.4.24 and later.</td></tr></table>
<h3>Summary</h3>
@@ -40,11 +41,20 @@
The connection speed to be simulated is specified, in KiB/s, using the environment
variable <code>rate-limit</code>.</p>
+<p>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 <code>rate-initial-burst</code>.</p>
+
<div class="example"><h3>Example Configuration</h3><pre class="prettyprint lang-config"><Location "/downloads">
SetOutputFilter RATE_LIMIT
SetEnv rate-limit 400
+ SetEnv rate-initial-burst 512
</Location></pre>
-</div>
+<div class="warning">
+If the value specified for <code>rate-limit</code> causes integer overflow, the rate-limited will be disabled.
+If the value specified for <code>rate-limit-burst</code> causes integer overflow, the burst will be disabled.
+</div></div>
</div>
<div id="quickview"><h3 class="directives">Directives</h3>