kansifang / moquette-mqtt

Automatically exported from code.google.com/p/moquette-mqtt
Apache License 2.0
0 stars 0 forks source link

correct behaviour of Will testaments #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
By now the will flag scatter a direct publish. It's not correct, Will has to 
publish only if there 
* "when either an I/O error is encountered by the server during communication 
with the client, 
* or the client fails to communicate within the Keep Alive timer schedule.

Sending a Will message is not triggered by the server receiving a DISCONNECT
message from the client."

Original issue reported on code.google.com by selva.an...@gmail.com on 12 Jun 2014 at 7:15

GoogleCodeExporter commented 9 years ago
Added a memory cache store for will messages that are published on 
lostConnectionEvent.
Fixed with r:fdc7f6237e6a

Original comment by selva.an...@gmail.com on 15 Jun 2014 at 4:49