]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http-ana: Rely on addresses at stream level to set xff and xot headers
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 25 Oct 2021 05:41:30 +0000 (07:41 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 27 Oct 2021 09:34:21 +0000 (11:34 +0200)
commit8a104ba3e01b39a05aef536dcefb1d65e837ded5
tree962e7ffd043d0427683d1eb80a9d90ec4b8cc506
parentc269f664bd07202b0879c16a2cc492ccd153d2e5
MINOR: http-ana: Rely on addresses at stream level to set xff and xot headers

Client source and destination addresses at stream level are now used to emit
X-Forwarded-For and X-Original-To headers. For now, stream-interface addresses
are never set. So, thanks to the fallback mechanism, no changes are expected
with this patch. But its purpose is to rely on addresses at the stream level,
when set, instead of those at the connection level.
src/http_ana.c