MXS-1628: Respond with correct error to malformed packets
If the client sent a malformed authentication response packet, MaxScale would interpret that as failed authentication.
This commit is contained in:
@ -99,6 +99,7 @@ typedef struct mxs_authenticator
|
||||
#define MXS_AUTH_INCOMPLETE 4 /**< Authentication is not yet complete */
|
||||
#define MXS_AUTH_SSL_INCOMPLETE 5 /**< SSL connection is not yet complete */
|
||||
#define MXS_AUTH_NO_SESSION 6
|
||||
#define MXS_AUTH_BAD_HANDSHAKE 7 /**< Malformed client packet */
|
||||
|
||||
/** Return values for the loadusers entry point */
|
||||
#define MXS_AUTH_LOADUSERS_OK 0 /**< Users loaded successfully */
|
||||
|
Reference in New Issue
Block a user