mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-24 19:04:25 +08:00
- Hijack mock CONNECT proxy connections before writing 200 OK and forward buffered client bytes so TLS ClientHello records are not truncated under CPU contention, while isolating Codex refresh test journals. - Wait for client request payloads and test completion before closing mock websocket connections in Codex keepalive upload tests. - Cancel the in-flight HTTP upstream context before writing response.incomplete downstream during local websocket interrupts. Closes: #7379 Co-authored-by: Dylan <1990016@gmail.com>