https://bz.apache.org/bugzilla/show_bug.cgi?id=62380

--- Comment #5 from Luca Toscano <[email protected]> ---
So as far as I can see, when mod_headers executes ap_headers_output_filter and
gets to:

    /* do the fixup */
    do_headers_fixup(f->r, f->r->err_headers_out, dirconf->fixup_err, 0);
    do_headers_fixup(f->r, f->r->headers_out, dirconf->fixup_out, 0);

it duplicates the headers (only in the mod_proxy_http use case). This seems to
be related to the fact that the X-Foo: bar header ends up in err_headers_out
for mod_proxy_fcgi, meanwhile it ends up in headers_out in mod_proxy_http
(before reaching ap_headers_output_filter). So in the first case, no
duplication occurs since X-Foo: bar is set two times in the same place
(err_headers_out), meanwhile in the latter it gets set in err_headers_out and
headers_out, ending up "rendered" two times.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to