Added a script to check 2 clients with same ID fails

This commit is contained in:
andrea
2014-11-30 18:28:37 +01:00
parent 5dbd71b565
commit 263b59dae2
4 changed files with 43 additions and 8 deletions
@@ -172,6 +172,7 @@ class ProtocolProcessor implements EventHandler<ValueEvent> {
}
m_clientIDs.get(msg.getClientID()).getSession().close(false);
LOG.info("Found an existing connection with same client ID <{}>, forced to close", msg.getClientID());
}
ConnectionDescriptor connDescr = new ConnectionDescriptor(msg.getClientID(), session, msg.isCleanSession());