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 373 August 14, 2018 04:24AM

Re: limit_rate_after support variables

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

Re: limit_rate_after support variables

Miroslav Novy 126 August 27, 2018 09:38AM

Re: limit_rate_after support variables

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

Re: limit_rate_after support variables

Miroslav Novy 86 August 28, 2018 03:24AM

Re: limit_rate_after support variables

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

Re: limit_rate_after support variables

Miroslav Novy 108 August 30, 2018 03:02AM

Re: limit_rate_after support variables

Miroslav Novy 83 October 17, 2018 06:50AM

Re: limit_rate_after support variables

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

Re: limit_rate_after support variables

Miroslav Novy 51 November 21, 2018 06:12AM

Re: limit_rate_after support variables

Miroslav Novy 64 November 21, 2018 09:52AM

Re: limit_rate_after support variables

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

Re: limit_rate_after support variables

Miroslav Novy 60 December 10, 2018 08:32AM

Re: limit_rate_after support variables

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

Re: limit_rate_after support variables

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



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

Online Users

Guests: 73
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