]
Jeff Mesnil reassigned WFCORE-4572:
-----------------------------------
Fix Version/s: 10.0.0.Beta3
Assignee: Jaikiran Pai (was: Jeff Mesnil)
Resolution: Done
UndertowHttpManagementService uses incorrect bind address for
creating listener for https socket binding
--------------------------------------------------------------------------------------------------------
Key: WFCORE-4572
URL:
https://issues.jboss.org/browse/WFCORE-4572
Project: WildFly Core
Issue Type: Bug
Components: Server
Affects Versions: 9.0.2.Final, 10.0.0.Beta2
Reporter: Jaikiran Pai
Assignee: Jaikiran Pai
Priority: Minor
Fix For: 10.0.0.Beta3
There appears to be a typo in UndertowHttpManagementService.java where in its start
method it has this code:
{code:java}
...
if(secureBindAddress != null) {
ListenerRegistry.Listener https = new
ListenerRegistry.Listener("https", HTTPS_MANAGEMENT, SERVER_NAME, bindAddress);
...
}
{code}
Notice that it creates a Listener by passing it "bindAddress". This IMO is a
typo and should instead pass the "secureBindAddress".
This isn't causing any visible issues right now since there appear to be no one who
uses this value from the instantiated Listener (no calls to Listener.getBindAddress()).