Evgeny
46f5ff7eca
test_etcp_router: fix flaky keepalive timeout under dummynet congestion
...
Root cause: 80kbps congestion causes 9+ second backpressure during push
phase. No packets reach server → keepalive timeout (2s default) fires
→ ETCP link down → BGP cleanup → etcp_router_conn_restart()
- frees send_q (up to 64 = ROUTER_MAX_SEND_Q_PACKETS lost)
- sends 9-byte restart notification to service handler (conn=NULL)
- resets seq to 0
Fixes:
1. Set keepalive_timeout=60000, keepalive_adaptive=0 in test configs
to prevent spurious timeouts during intentional congestion testing
2. Handle 9-byte restart notification in srv_handler:
when conn==NULL && len==9 → reset g_expected_seq=0 gracefully
2026-07-06 12:28:54 +03:00
..
2026-07-06 11:42:13 +03:00
2026-06-17 21:28:07 +03:00
2026-05-29 01:11:37 +03:00
2026-04-21 19:06:45 +03:00
2026-01-25 10:47:02 +03:00
2026-01-21 18:18:32 +03:00
2026-01-25 10:47:02 +03:00
2026-07-06 11:42:13 +03:00
2026-01-28 19:56:38 +03:00
2026-02-15 13:25:05 +03:00
2026-07-01 17:49:27 +03:00
2026-07-01 17:49:27 +03:00
2026-06-17 21:28:07 +03:00
2026-06-30 00:34:06 +03:00
2026-01-26 18:14:04 +03:00
2026-07-06 11:42:13 +03:00
2026-02-02 10:57:36 +03:00
2026-05-12 13:42:16 +03:00
2026-01-26 18:14:04 +03:00
2026-06-17 21:28:07 +03:00
2026-06-17 21:28:07 +03:00
2026-06-03 02:06:09 +03:00
2026-07-06 11:42:13 +03:00
2026-07-04 18:51:01 +03:00
2026-05-10 19:03:42 +03:00
2026-07-05 20:57:44 +03:00
2026-03-06 01:36:57 +03:00
2026-01-26 17:52:50 +03:00
2026-06-17 21:28:07 +03:00
2026-06-17 21:28:07 +03:00
2026-07-05 20:57:44 +03:00
2026-07-04 18:51:01 +03:00
2026-07-04 18:51:01 +03:00
2026-07-06 12:28:54 +03:00
2026-06-17 21:28:07 +03:00
2026-06-18 22:11:25 +03:00
2026-06-17 21:28:07 +03:00
2026-07-04 18:51:01 +03:00
2026-06-09 22:20:25 +03:00
2026-07-05 20:57:44 +03:00
2026-06-09 22:20:25 +03:00
2026-07-05 20:57:44 +03:00
2026-06-02 21:05:06 +03:00
2026-07-02 18:58:34 +03:00
2026-05-10 00:49:46 +03:00
2026-05-10 00:49:46 +03:00
2026-07-04 18:51:01 +03:00
2026-03-06 01:36:57 +03:00
2026-01-26 18:25:48 +03:00
2026-06-17 21:28:07 +03:00
2026-06-09 22:20:25 +03:00
2026-05-10 00:34:28 +03:00
2026-07-02 13:35:22 +03:00
2026-05-10 00:49:46 +03:00
2026-06-29 20:01:40 +03:00
2026-04-14 02:03:59 +03:00
2026-07-05 20:57:44 +03:00
2026-06-18 22:11:25 +03:00
2026-07-05 14:49:35 +03:00
2026-06-14 10:00:02 +03:00
2026-06-14 10:00:02 +03:00
2026-06-22 15:53:24 +03:00
2026-07-05 20:57:44 +03:00
2026-07-01 20:33:11 +03:00
2026-07-01 20:33:11 +03:00
2026-07-05 20:57:44 +03:00
2026-06-03 16:24:46 +03:00
2026-04-26 00:17:32 +03:00
2026-05-13 12:38:20 +03:00
2026-07-05 20:57:44 +03:00
2026-07-04 18:51:01 +03:00
2026-02-15 04:24:46 +03:00
2026-01-28 19:56:38 +03:00
2026-01-26 17:52:50 +03:00