Reset the keep alive monitor if a session is being resumed from a different (or same) client.

This commit is contained in:
Christian Kratky
2018-12-01 11:00:00 +01:00
parent ccc275902f
commit b091fee554
3 changed files with 15 additions and 2 deletions
@@ -312,6 +312,8 @@ namespace MQTTnet.Server
}
else
{
clientSession.ResumeSession();
_logger.Verbose("Reusing existing session of client '{0}'.", connectPacket.ClientId);
}
}