hongzhidao at gmail.com
Tue Feb 14 14:40:06 UTC 2017
Thanks a lot for your reply.
So we can regard the patch is right, but it's not recommended.
Because it's more easily to break the request behavior in limiting rate.
And the limit_rate variable is also deprecated though it's so useful
that we can dynamically change the rate.
2017-02-14 21:11 GMT+08:00 Maxim Dounin <mdounin at mdounin.ru>:
> 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:
> 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:
> Maxim Dounin
> nginx-devel mailing list
> nginx-devel at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel