]> git.kaiwu.me - nginx.git/commit
Merge of r4770: hide_headers/pass_headers inheritance fix.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 6 Aug 2012 17:34:08 +0000 (17:34 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 6 Aug 2012 17:34:08 +0000 (17:34 +0000)
commitcfef618a6fc7dc003eb42f359931101fa9c1a79f
tree8c714f3eda8218d43ae34fc3c745e50b1b40ada2
parent6145efaef48172485df62934b3e0f08822ce2e18
Merge of r4770: 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