]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_proxy: Align ap_proxy_create_hdrbrgd() with 2.4.x's.
authorYann Ylavic <ylavic@apache.org>
Tue, 31 May 2022 15:06:13 +0000 (15:06 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 31 May 2022 15:06:13 +0000 (15:06 +0000)
commit660f5820972d961e2dafc1a6a7b66f98b952865c
treeb9ec2e49b856aea2fac1a2d84740f6cb8fd833e8
parentd161bb4cc2932e3101b2a3e36d6390bb6199e19d
mod_proxy: Align ap_proxy_create_hdrbrgd() with 2.4.x's.

In 2.4.x, the copy of r->headers_in is left in r->headers_in for the whole
function, while the original r->headers_in are restored at the end. This
is simpler and avoids the r->headers_in <=> saved_headers_in danse when
calling a function that modifies r->headers_in in place.

Align with 2.4.x, no functional change.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1901460 13f79535-47bb-0310-9956-ffa450edef68
modules/proxy/proxy_util.c