Evgeny cf4dd03cc6 test: 5 new router unit tests — RST, restart, sess_id
test_rst_flag: inject ROUTER_FLAG_RST → rconn destroyed, service notified
test_client_restart: pump random data → inject START → restart detected
test_sess_id_change: pump sess_id=0 → inject sess_id=1+START → detected
test_sess_id_wrap: pump sess_id=3, peer_sess_id=3 → inject sess_id=0+START → wrap detected
test_server_reinit: reinit router → new rconn start_sent=0, sess_id=0

inject() extended with uint8_t flags parameter.
pump_data helper for random data injection.
test_handler tracks g_notify_count for close/restart notifications.

fix: etcp_router_recv_cb — return after RST flag to avoid NULL rconn deref
2026-06-03 21:56:11 +03:00
1
2026-04-21 16:14:03 +00:00
1
2026-02-28 16:25:01 +03:00
1
2026-03-08 18:52:53 +03:00
1
2026-02-28 16:25:01 +03:00
1
2026-03-08 19:59:42 +03:00
2026-03-06 15:55:16 +03:00
S
Description
No description provided
GPL-3.0
468 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 63.6%
C++ 17.3%
Kotlin 9.4%
HTML 6.5%
Python 1.2%
Other 1.7%