]> git.kaiwu.me - nginx.git/commit
Upstream: fixed inheritance of proxy_store and friends.
authorValentin Bartenev <vbart@nginx.com>
Thu, 9 Oct 2014 16:30:11 +0000 (20:30 +0400)
committerValentin Bartenev <vbart@nginx.com>
Thu, 9 Oct 2014 16:30:11 +0000 (20:30 +0400)
commitfb7d63250ed10e7655668d3c58251a5f1da32063
tree9cac34f44f5f148467e1f11910d17740fe02e556
parent827b2511e6ffee946b7b5c00a67bc50449fc2d72
Upstream: fixed inheritance of proxy_store and friends.

The proxy_store, fastcgi_store, scgi_store and uwsgi_store were inherited
incorrectly if a directive with variables was defined, and then redefined
to the "on" value, i.e. in configurations like:

    proxy_store /data/www$upstream_http_x_store;

    location / {
        proxy_store on;
    }
src/http/modules/ngx_http_fastcgi_module.c
src/http/modules/ngx_http_proxy_module.c
src/http/modules/ngx_http_scgi_module.c
src/http/modules/ngx_http_uwsgi_module.c