Browse Source
etcp_router: new etcp_router_conn_restart(inst, node_id, svc_id) — closes all rconns for the peer, notifies service via cb(NULL, entry) with node_id, resets seq state. seq=0 detection in etcp_router_recv_cb: when rx_seq >= 256 (MAX_INFLIGHT) and a data packet arrives with seq=0, detect peer restart and reset rconn. tcp_proxy_client: handle TCP_PROXY_SUBCMD_RESTART — clear all client conns and server conns for the restarted peer. Threshold prevents false positives on in-window seq=0 duplicates.etcp-inflight-fix
4 changed files with 57 additions and 0 deletions
Loading…
Reference in new issue