Session status wasn't updated in tee filter's closeSession
This commit is contained in:
@ -325,9 +325,18 @@ SESSION *bsession;
|
||||
{
|
||||
if ((bsession = my_session->branch_session) != NULL)
|
||||
{
|
||||
CHK_SESSION(bsession);
|
||||
spinlock_acquire(&bsession->ses_lock);
|
||||
|
||||
if (bsession->state != SESSION_STATE_STOPPING)
|
||||
{
|
||||
bsession->state = SESSION_STATE_STOPPING;
|
||||
}
|
||||
router = bsession->service->router;
|
||||
router_instance = bsession->service->router_instance;
|
||||
rsession = bsession->router_session;
|
||||
spinlock_release(&bsession->ses_lock);
|
||||
|
||||
/** Close router session and all its connections */
|
||||
router->closeSession(router_instance, rsession);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user