[nginx] Map: the "volatile" parameter.
Ruslan Ermilov
ru at nginx.com
Thu Dec 22 07:06:29 UTC 2016
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!
More information about the nginx-devel
mailing list