update session finite state machine & add tcp init -> opening test case
This commit is contained in:
@@ -28,6 +28,7 @@ struct session_manager_config
|
||||
uint64_t tcp_timeout_handshake; // seconds, Range: 1-60
|
||||
uint64_t tcp_timeout_data; // seconds, Range: 1-15,999,999
|
||||
uint64_t tcp_timeout_half_closed; // seconds, Range: 1-604,800
|
||||
uint64_t tcp_timeout_time_wait; // seconds, Range: 1-600
|
||||
uint64_t tcp_timeout_discard; // seconds, Range: 1-15,999,999
|
||||
|
||||
// UDP timeout
|
||||
@@ -68,6 +69,8 @@ struct session *session_manager_get_evicted_session(struct session_manager *mgr)
|
||||
uint64_t session_manager_get_expire_interval(struct session_manager *mgr);
|
||||
uint64_t session_manager_get_session_number(struct session_manager *mgr, enum session_type type, enum session_state state);
|
||||
|
||||
void session_manager_print_status(struct session_manager *mgr);
|
||||
|
||||
#ifdef __cpluscplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user