Skip to content

Read Unsubscribe Packet in v5 #625

Closed
@swanandx

Description

@swanandx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions