Revert "Fix #872 - use default server if forced host not found, OR force default is set."

This reverts commit 1fb7a3bf1d.
This commit is contained in:
md_5 2014-03-14 19:27:51 +11:00
parent 3301c95066
commit 8502ab54c0

View File

@ -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();
} }