-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5, wd09
-
Fix Version/s: None
-
Component/s: edits
-
Labels:None
-
Proposal:
-
Resolution:
The following return codes amount to a protocol error:
PubRel 0x92 PacketID not found
PubComp 0x92 PacketID not found
Suback 0x91 PacketID in use
so we should send DISCONECT RC 0x82 Protocol error
followed by network disconnect instead. Otherwise we risk corrupting data because either the client or server implementation is bad or their state has been corrupted.
The same thing could happen on Publish / PubRec / PubAck , Unsunscribe/Unsuback as well.
This is the same methodology as was adopted in Jira MQTT-311