Hello<br><br>I added some features to version  1.2.3, but since nginx moves forward, I'd like to see if there's a way to put those as permanent patch<br><br>The features refers to limit_rate_after directive and a new one limit_rate_max, both used to control bandwidth.<br>

<br>I changed limit_rate_after to take a variable as well, not just config.<br>I also added limit_rate_max to control the speed of the initial bytes sent that are defined with limit_rate_after.<br><br>So basically right now I can send 2MB at a speed of 600KB and then slow down at 100KB.<br>

<br>This is extremely useful for video streaming websites with huge traffic, I save a lot of bandwidth and get able to serve many more users at the same time.<br><br>My config looks something like:<br><br>limit_rate_max 600k;<br>

if ($arg_u) {<br>    set $limit_rate_max $arg_u;<br>}<br><br>limit_rate_after 2m;<br>if ($arg_burst) {<br>    set $limit_rate_after $arg_burst;<br>}<br><br>Here I can tell through the url what speed and when to slowdown, based on user account, so premium users receive the video and start playback faster.<br>

Is anyone interested to push this changes/features to nginx dev team?<br><br clear="all"><div>---------------------------------------------------------------<br>Cristian Rusu<br>Web Developement & Electronic Publishing<br>

<br>======<br>Crilance.com<br><a href="http://Crilance.blogspot.com">Crilance.blogspot.com</a><br></div>