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.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#add_subdirectory(packet_inject)
|
||||
add_subdirectory(packet_tool)
|
||||
add_subdirectory(session_debugger)
|
||||
add_subdirectory(lpi_plus)
|
||||
#add_subdirectory(session_debugger)
|
||||
#add_subdirectory(lpi_plus)
|
||||
#add_subdirectory(decoders/http)
|
||||
#add_subdirectory(decoders/socks)
|
||||
#add_subdirectory(decoders/stratum)
|
||||
|
||||
@@ -26,7 +26,8 @@ foreach(tfile ${MONITOR_TEST_FILE})
|
||||
endforeach()
|
||||
|
||||
set(MONITOR_TEST_RUN_DIR ${CMAKE_CURRENT_BINARY_DIR})
|
||||
add_test(NAME MONITOR_ENV_SETUP COMMAND sh -c "mkdir -p ${MONITOR_TEST_RUN_DIR}/conf &&
|
||||
add_test(NAME MONITOR_ENV_SETUP COMMAND sh -c "mkdir -p ${MONITOR_TEST_RUN_DIR}/metrics &&
|
||||
mkdir -p ${MONITOR_TEST_RUN_DIR}/conf &&
|
||||
mkdir -p ${MONITOR_TEST_RUN_DIR}/plugin &&
|
||||
mkdir -p ${MONITOR_TEST_RUN_DIR}/log &&
|
||||
mkdir -p ${MONITOR_TEST_RUN_DIR}/pcap &&
|
||||
|
||||
Reference in New Issue
Block a user