mirror of
https://github.com/openai/codex.git
synced 2026-11-22 23:00:42 +00:00
Add gRPC TCP transport to the code-mode host (#37745)
## What changed - Accept `grpc://IP:PORT` endpoints through `--listen` and serve the existing code-mode gRPC service over TCP. - Print the bound HTTP endpoint to stdout so callers can discover the port when binding to port `0`. - Apply the protocol frame-size limits and disable Nagle's algorithm on accepted connections. ## Testing - Add an end-to-end test that starts the host on an ephemeral port, connects a gRPC client, and opens a session. - Verify accepted gRPC sockets have `TCP_NODELAY` enabled. GitOrigin-RevId: 51d6c21dff8cffb47068c0677ba10ff370385cec
This commit is contained in:
committed by
copyberry
parent
50ef7395fa
commit
c0ad3ab014
@@ -50,6 +50,7 @@ pub use self::transport::DEFAULT_LISTEN_URL;
|
||||
|
||||
mod delegate;
|
||||
mod grpc;
|
||||
mod grpc_transport;
|
||||
mod peer;
|
||||
mod transport;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user