Browse Source
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 gracefullychatgui
1 changed files with 12 additions and 2 deletions
Loading…
Reference in new issue