Try to fix problem if balancing free client DCB and free session so that auth data is always available and client DCB is not freed until session is ready to be freed. Also fix problem in auth logic.
This commit is contained in:
@ -172,7 +172,7 @@ static int gw_read_backend_event(DCB *dcb)
|
||||
goto return_rc;
|
||||
}
|
||||
|
||||
if (dcb->session == NULL)
|
||||
if (dcb->dcb_is_zombie || dcb->session == NULL)
|
||||
{
|
||||
goto return_rc;
|
||||
}
|
||||
|
Reference in New Issue
Block a user