Closed
Description
Expected Behavior
Read and handle unsubscribe packet
Current Behavior
we panic if we get unsubscribe packet, as we reach unreachable!()
Failure Information (for bugs)
In v5 protocol, while reading packets, in match arms, we don't include unsubscribe packet. Thus it proceeds to _ => unreachable!()
.
Solution
Add Packet::Unsubscribe
in match arm here and handle it properly.