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
NewPacket.header.len() is required for parsing, do not clear the vector #11
See rust-lang/rust#42610 for details.
I thought this bug was likely an optimization error, but turns out the glitch doesn't occur unless the program is running at full throttle with release target optimizations.
If a TCP packet ends with 4-byte MySQL packet header, and the next TCP packet is slow to arrive, then the MySQL parser will: