Fixed missed clean session for ClientSession, issue #145
This commit is contained in:
@@ -219,6 +219,9 @@ public class ProtocolProcessor {
|
||||
if (!msg.isCleanSession() && isSessionAlreadyStored) {
|
||||
okResp.setSessionPresent(true);
|
||||
}
|
||||
if (isSessionAlreadyStored) {
|
||||
clientSession.cleanSession(msg.isCleanSession());
|
||||
}
|
||||
channel.writeAndFlush(okResp);
|
||||
m_interceptor.notifyClientConnected(msg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user