Welcome! Log In Create A New Profile

Advanced

Re: limit_rate_after support variables

Miroslav Novy
December 10, 2018 08:32AM
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ý
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

limit_rate_after support variables

Miroslav Novy 338 August 14, 2018 04:24AM

Re: limit_rate_after support variables

ru@nginx.com 75 August 27, 2018 07:30AM

Re: limit_rate_after support variables

Miroslav Novy 99 August 27, 2018 09:38AM

Re: limit_rate_after support variables

ru@nginx.com 79 August 27, 2018 12:02PM

Re: limit_rate_after support variables

Miroslav Novy 70 August 28, 2018 03:24AM

Re: limit_rate_after support variables

ru@nginx.com 68 August 29, 2018 07:44AM

Re: limit_rate_after support variables

Miroslav Novy 87 August 30, 2018 03:02AM

Re: limit_rate_after support variables

Miroslav Novy 66 October 17, 2018 06:50AM

Re: limit_rate_after support variables

ru@nginx.com 40 November 20, 2018 09:12AM

Re: limit_rate_after support variables

Miroslav Novy 36 November 21, 2018 06:12AM

Re: limit_rate_after support variables

Miroslav Novy 48 November 21, 2018 09:52AM

Re: limit_rate_after support variables

ru@nginx.com 39 December 06, 2018 09:46AM

Re: limit_rate_after support variables

Miroslav Novy 44 December 10, 2018 08:32AM

Re: limit_rate_after support variables

Miroslav Nový 17 February 25, 2019 06:08AM

Re: limit_rate_after support variables

ru@nginx.com 21 February 26, 2019 03:00AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 87
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready