Fix compilation error
See gh-19423
This commit is contained in:
committed by
Andy Wilkinson
parent
7551a79e80
commit
4b10462464
@@ -188,7 +188,7 @@ public class TomcatWebServerFactoryCustomizer
|
||||
// addresses
|
||||
valve.setInternalProxies(remoteIpProperties.getInternalProxies());
|
||||
try {
|
||||
valve.setHostHeader(tomcatProperties.getHostHeader());
|
||||
valve.setHostHeader(remoteIpProperties.getHostHeader());
|
||||
}
|
||||
catch (NoSuchMethodError ex) {
|
||||
// Avoid failure with war deployments to Tomcat 8.5 before 8.5.44 and
|
||||
|
||||
Reference in New Issue
Block a user