Fix #872 - use default server if forced host not found, OR force default is set.
This commit is contained in:
parent
52fbceec54
commit
1fb7a3bf1d
@ -35,7 +35,7 @@ public abstract class AbstractReconnectHandler implements ReconnectHandler
|
|||||||
|
|
||||||
String forced = con.getListener().getForcedHosts().get( con.getVirtualHost().getHostString() );
|
String forced = con.getListener().getForcedHosts().get( con.getVirtualHost().getHostString() );
|
||||||
|
|
||||||
if ( forced == null && con.getListener().isForceDefault() )
|
if ( forced == null || con.getListener().isForceDefault() )
|
||||||
{
|
{
|
||||||
forced = con.getListener().getDefaultServer();
|
forced = con.getListener().getDefaultServer();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user