From 1353cff0646b9d998da7f4f90180cc37b4f455d4 Mon Sep 17 00:00:00 2001 From: slguan Date: Thu, 28 Nov 2019 22:45:35 +0800 Subject: [PATCH] fix issue #626 and [TBASE-1192] --- src/modules/http/src/httpSession.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- GitLab