summaryrefslogtreecommitdiff
path: root/infra/session_manager/test
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-11-18 18:33:19 +0800
committerluwenpeng <[email protected]>2024-11-19 18:28:40 +0800
commitc2e9275a9e56f7d0567fc2512d5cab67932d39da (patch)
tree518da54d7f34ab4d6be2ece2808bcb85184ef572 /infra/session_manager/test
parent746d7fca060cd3dec350657fb1f61317e7fc32fa (diff)
remove session_manager_subscribe_xxx() API; convert session closing events to pseudo packets
when a session is closed, use the packet manager to create a pseudo packet, set the session to be closed as packet Exdata, and schedule it to the packet forwarding stage. when the pseudo packet free, the session will be free.
Diffstat (limited to 'infra/session_manager/test')
-rw-r--r--infra/session_manager/test/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/infra/session_manager/test/CMakeLists.txt b/infra/session_manager/test/CMakeLists.txt
index e0e7ede..2b346d9 100644
--- a/infra/session_manager/test/CMakeLists.txt
+++ b/infra/session_manager/test/CMakeLists.txt
@@ -149,4 +149,6 @@ gtest_discover_tests(gtest_session_transition)
gtest_discover_tests(gtest_sess_mgr_tcp_reassembly)
gtest_discover_tests(gtest_sess_mgr_scan)
-gtest_discover_tests(gtest_case_tcp_fast_open) \ No newline at end of file
+gtest_discover_tests(gtest_case_tcp_fast_open)
+
+file(COPY ./metrics/ DESTINATION ./metrics/) \ No newline at end of file