One of the problems found in #2551:
The server copies the packet of user A and user B into the same global array.
So the packet of A can be revealed or reused if the server did not check the packet of B very carefully.
Solution:
The read callback functions use local variable now.
Set the low watermark to 3, the min length of a normal packet.
One of the problems found in #2551: The server copies the packet of user A and user B into the same global array. So the packet of A can be revealed or reused if the server did not check the packet of B very carefully.
Solution:
@mercury233 @purerosefallen