MySQL Forums
Forum List  »  Docs

Are CLIENT_DEPRECATE_EOF EOF packets potentially ambiguous?
Posted by: Michael Lenaghan
Date: April 20, 2019 12:56PM

The EOF Packet documentation ( says:


The EOF packet may appear in places where a Protocol::LengthEncodedInteger may appear. You must check whether the packet length is less than 9 to make sure that it is a EOF packet.

Now, with the CLIENT_DEPRECATE_EOF capability, EOF packets are OK-packet sized. In other words, they still start with 0xFE, but their packet length is greater than 9.

Does that mean that CLIENT_DEPRECATE_EOF EOF packets (i.e., OK packets with a 0xFE header) are potentially ambiguous?

Options: ReplyQuote

Written By
Are CLIENT_DEPRECATE_EOF EOF packets potentially ambiguous?
April 20, 2019 12:56PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.