mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
corrected if (!attached.isServer || !attached.isHandShakingComplete())
return;
This commit is contained in:
@@ -388,7 +388,7 @@ public final class TcpReplicator<K, V> extends AbstractChannelReplicator impleme
|
||||
|
||||
final Attached attached = (Attached) key.attachment();
|
||||
|
||||
if (attached.isServer && !attached.isHandShakingComplete())
|
||||
if (!attached.isServer || !attached.isHandShakingComplete())
|
||||
return;
|
||||
|
||||
final SocketChannel channel = (SocketChannel) key.channel();
|
||||
@@ -412,6 +412,7 @@ public final class TcpReplicator<K, V> extends AbstractChannelReplicator impleme
|
||||
if (replicationConfig.autoReconnectedUponDroppedConnection())
|
||||
attached.connector.connectLater();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user