Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix Issue #156 #158
Hi, thanks for this.
Simply returning 0 isn't sufficient. The client will then try to read the next packet... but we're no longer aligned to packet boundaries and there's no hope of recovering that.
If this condition is detected, the client needs to disconnect.
I personally do not find this very elegant or logical in program flow.