Merge remote-tracking branch 'origin/master' into jetty-9-alpn
This commit is contained in:
commit
9975f44b84
|
@ -247,7 +247,7 @@ public class ForwardedRequestCustomizer implements Customizer
|
||||||
|
|
||||||
if (forwardedFor != null)
|
if (forwardedFor != null)
|
||||||
{
|
{
|
||||||
request.setRemoteAddr(new InetSocketAddress(forwardedFor,request.getRemotePort()));
|
request.setRemoteAddr(InetSocketAddress.createUnresolved(forwardedFor,request.getRemotePort()));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (forwardedProto != null)
|
if (forwardedProto != null)
|
||||||
|
|
Loading…
Reference in New Issue