mirror of
https://github.com/openai/codex.git
synced 2026-11-06 20:20:34 +00:00
## Why Idle reads from local MCP servers on Windows can occupy Tokio's blocking threads and delay unrelated filesystem operations. ## What changed Use IOCP-backed named pipes for local MCP server stdin, stdout, and stderr on Windows. Connect child endpoints before launch, restrict pipe access to the owner and SYSTEM, and reject remote clients. Preserve the shared legacy and modern protocol framing. ## Testing Add Windows regression tests to verify that idle MCP reads leave blocking I/O available in both protocol modes and that child output handles support querying the pipe mode. GitOrigin-RevId: ca39b940a54427a2cd7bab5291011b0b09143b3f