]
Masafumi Miura reassigned WFLY-13483:
-------------------------------------
Assignee: Flavia Rainone (was: Brian Stansberry)
Add reuse-x-forwarded support to mod-cluster filter and reverse-proxy
handler
-----------------------------------------------------------------------------
Key: WFLY-13483
URL:
https://issues.redhat.com/browse/WFLY-13483
Project: WildFly
Issue Type: Enhancement
Components: Web (Undertow)
Affects Versions: 19.1.0.Final
Reporter: Masafumi Miura
Assignee: Flavia Rainone
Priority: Major
Undertow has setReuseXForwarded() method in the builder API of ModCluster and
ProxyHandler to enable support to reuse X-Forwarded-* request headers (like
X-Forwarded-For header).
However, the undertow subsystem does not expose it as the configurable parameter of
<mod-cluster> and <reverse-proxy>.
This parameter is useful when the undertow load balance proxy is backed by another proxy
server. In such a case, the front-end proxy adds X-Forwarded-* request headers to provide
information about the original requester.
The current implementation is unable to reuse it and overwrites it with its own
information.