limit_rate_after support variables

Miroslav Nový miranovy at gmail.com
Mon Feb 25 11:06:07 UTC 2019


Hello,
  how does it look with merge into the main branch?

Thank you for answer
Mira Novy

po 10. 12. 2018 v 14:30 odesílatel Miroslav Novy <miranovy at gmail.com>
napsal:

> Hello,
>   your path is very good. I tested it and works fine for as.
>
> Reading complex value to the same local variable limit_rate was conflusing
> for me at first time. But it is correct :)
>
>  if (r->limit_rate_after == 0
> +            && clcf->limit_rate_after
> +            && ngx_http_complex_value_size(r, clcf->limit_rate_after,
> &val,
> +                                           &limit_rate)
> <-----------------------
> +               == NGX_OK)
> +        {
> +            if (limit_rate != (size_t) NGX_ERROR) {
> +                r->limit_rate_after = limit_rate;
> +
> +            } else if (val.len) {
>
> Please, merge your path to master branch.
>
> Best regards
> M. Nový
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20190225/0e6347b5/attachment.html>


More information about the nginx-devel mailing list