Welcome! Log In Create A New Profile

Advanced

Re: [nginx] Map: the "volatile" parameter.

December 22, 2016 02:08AM
On Fri, Dec 09, 2016 at 10:41:41AM +0800, 洪志道 wrote:
> Hi!
>
> It's still a problem when the variable generated by map and including
> itself. For example:
>
> map $host $abc {
> default $abc;
> }
>
> server {
> listen 80;
>
> location / {
> return 200 $abc;
> }
> }

Unlimited recursion is now detected and handled:
http://hg.nginx.org/nginx/rev/8cd97c14b0e2

Enjoy!
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Map: the "volatile" parameter.

ru@nginx.com 826 December 08, 2016 01:48PM

RE: [nginx] Map: the "volatile" parameter.

erankor 450 December 08, 2016 03:04PM

Re: [nginx] Map: the "volatile" parameter.

karton 833 December 08, 2016 09:52PM

Re: [nginx] Map: the "volatile" parameter.

ru@nginx.com 401 December 22, 2016 02:08AM



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

Online Users

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