mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
## Why The shared-connection release test can fail when the client closes its socket with a TCP reset instead of a clean EOF. ## What changed Use an in-memory stream between the proxy and the gRPC host so only the client socket can report a TCP reset. Accept either a clean close or a client reset as the release signal, propagate other I/O errors, and keep the RPC assertions that rule out an early disconnect. GitOrigin-RevId: 25c2d5093e340da21a19a69916b3f62716e4dd52