feature: session manager support lookup session by session ID

This commit is contained in:
luwenpeng
2024-07-29 10:44:57 +08:00
parent 62b9c0c99c
commit 1f09f43f52
20 changed files with 119 additions and 102 deletions

View File

@@ -213,7 +213,7 @@ static void *work_thread(void *arg)
}
}
sess = session_manager_lookup_session(sess_mgr, pkt, now_ms);
sess = session_manager_lookup_session_by_packet(sess_mgr, pkt);
if (sess == NULL)
{
sess = session_manager_new_session(sess_mgr, pkt, now_ms);