diff --git a/src/modules/http/src/httpSession.c b/src/modules/http/src/httpSession.c index 61f49da7c8..568936ede6 100644 --- a/src/modules/http/src/httpSession.c +++ b/src/modules/http/src/httpSession.c @@ -114,10 +114,10 @@ void httpRestoreSession(HttpContext *pContext) { return; } session->access--; - pContext->session = NULL; httpTrace("context:%p, ip:%s, user:%s, restore session:%p:%p, access:%d, expire:%d", pContext, pContext->ipstr, pContext->user, session, session->taos, session->access, pContext->session->expire); + pContext->session = NULL; pthread_mutex_unlock(&server->serverMutex); }