The header looks like:
3 length of compressed payload 1 compressed sequence id 3 length of payload before compression
raw packet length minus the size of the compressed packet header (7 bytes) itself.
sequence id of the compressed packets, reset in the same way as the MySQL Packet, but incremented independently
size of payload before it was compressed.
Copyright © 1997, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices