mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-30 22:24:55 +08:00
- Renew the underlying net.Conn read deadline on upstream Ping/Pong heartbeats during in-flight responses while keeping completed-idle sessions and unresponsive peers subject to bounded cleanup. - Refresh the read deadline when activating a reused session or transitioning an idle duplex socket into a new turn, without letting outbound writes extend an already in-flight silent upstream. - Track duplex turn and steering state directly in the upstream read loop so downstream backpressure cannot keep completed upstream connections alive, and add deterministic regression tests. Closes: #8514
41 KiB
41 KiB