Log DCB remote on SSL error

This should help identify the client which caused the error to occur.
This commit is contained in:
Markus Mäkelä 2021-10-05 13:12:49 +03:00
parent b4edc74926
commit 136d0271df
No known key found for this signature in database
GPG Key ID: 5CE746D557ACC499

View File

@ -828,9 +828,10 @@ static int dcb_log_errors_SSL(DCB* dcb, int ret)
}
if (ret || ssl_errno)
{
MXS_ERROR("SSL operation failed, %s in state "
MXS_ERROR("SSL operation failed, %s at '%s' in state "
"%s fd %d return code %d. More details may follow.",
dcb->type(),
dcb->remote ? dcb->remote : "<no remote>",
STRDCBSTATE(dcb->state),
dcb->fd,
ret);