[nginx] limit_rate_after

Maxim Dounin mdounin at mdounin.ru
Tue Feb 14 13:11:14 UTC 2017


Hello!

On Tue, Feb 14, 2017 at 03:54:35PM +0800, 洪志道 wrote:

> Dose nginx consider support setting variable about limit_rate_after?
> We can limit rate after $n bytes received from upstream.

No.  A patch to introduce the $limit_rate_after variable was made 
several years ago, see this ticket:

https://trac.nginx.org/nginx/ticket/293

This approach is considered wrong though, and the patch wasn't 
committed.  Proper way to go is believed to be variables support 
in the limit_rate_after directive, see here:

https://trac.nginx.org/nginx/ticket/293#comment:5

-- 
Maxim Dounin
http://nginx.org/


More information about the nginx-devel mailing list