You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A problem with switching to MySqlProtocolException is that it conflates "packet received out of order" (probably a bug, needs to be surfaced and reported here as an issue, e.g., #267) and "server closed connection" (often recoverable, e.g., #208).
If a received packet has insufficient data, throw
MySqlProtocolException
instead ofEndOfStreamException
.This is a more descriptive exception type (and the underlying connection may not be a
Stream
).The text was updated successfully, but these errors were encountered: