mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-29 21:33:01 +08:00
- Extract the interactions stream chunk forwarder into forwardInteractionsChunks and guard chunk reads and channel sends with done and cliCtx.Done() cancellation signals. - Add deterministic unit and HTTP disconnect regression tests verifying the forwarding goroutine closes its output channels and exits cleanly on cancellation. Closes: #8141