]> git.kaiwu.me - nginx.git/commit
Upstream: hide_headers/pass_headers inheritance fix.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 30 Jul 2012 10:35:26 +0000 (10:35 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 30 Jul 2012 10:35:26 +0000 (10:35 +0000)
commit21be49ae59329c0f7a2196a9a9619a3ba0498c0c
treefcce6a91e37f1a811b6b5f9384bfff95d01f2725
parent1c31039d1e0cc8d06fe5cd2b6ad727d3c1c25853
Upstream: hide_headers/pass_headers inheritance fix.

Hide headers and pass headers arrays might not be inherited correctly
into a nested location, e.g. in configuration like

    server {
        proxy_hide_header X-Foo;
        location / {
            location /nested/ {
                proxy_pass_header X-Pad;
            }
        }
    }

the X-Foo header wasn't hidden in the location /nested/.

Reported by Konstantin Svist,
http://mailman.nginx.org/pipermail/nginx-ru/2012-July/047555.html
src/http/ngx_http_upstream.c