Skip to content

Verify length of Packet #9

Description

@ecp4224

When the client sends a packet, verify that the length of the packet matches what the Packet requires.
This can be done using a verifyLength() function that gets checked before invoking handlePacket(). However, the netty pipeline may need to be reworked to ensure that packets are properly handled when a packet is BOTH to short or to long.

  • If a packet is to short, then netty should continue to listen for data and try again later
  • If a packet is to long, then the packet should be truncated and the tail end should be given back to netty

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions