-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
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
Reactions are currently unavailable