Route gRPC code-mode sessions through the shared HTTP client (#38087)

## What changed

- Build URL-based gRPC code-mode connections with `HttpClientFactory` so they support the application's outbound proxy and custom CA configuration.
- Accept `http` and `https` origins while rejecting endpoints with unsupported schemes, paths, queries, or fragments.
- Preserve custom tonic channel injection and gRPC frame-size limits through the new transport adapter.

GitOrigin-RevId: 142f0b572b3ab0154e8fe860cb304752a9af5784
This commit is contained in:
Channing Conger authored and copyberry committed 2026-08-11 23:40:07 +00:00
1 parent f4936d7aba
commit 85f331772f
5 files changed
+119 -29

No files matched your search

+2
View File
@@ -238,6 +238,8 @@ deny = [
{ crate = "reqwest", wrappers = [
# Intended owner.
"codex-http-client",
# Intentional exception: gRPC uses reqwest directly as tonic's HTTP/2 transport.
"codex-code-mode",
# Intentional exception: this standalone, privileged Responses API proxy owns its blocking
# upstream HTTP transport independently of Codex.
"codex-responses-api-proxy",