提交 fcca57d8 编写于 作者: H Hui Li

[init varaible]

上级 6e4c0b63
...@@ -46,6 +46,7 @@ void httpCreateSession(HttpContext *pContext, void *taos) { ...@@ -46,6 +46,7 @@ void httpCreateSession(HttpContext *pContext, void *taos) {
} }
HttpSession session; HttpSession session;
memset(&session, 0, sizeof(HttpSession));
session.taos = taos; session.taos = taos;
session.expire = (int)taosGetTimestampSec() + server->sessionExpire; session.expire = (int)taosGetTimestampSec() + server->sessionExpire;
session.access = 1; session.access = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册