mirror of
https://github.com/openai/codex.git
synced 2026-11-15 21:50:46 +00:00
Wire Windows sandbox selection into managed proxy routing (#45757)
## What changed - Track the Windows sandbox implementation separately from its legacy setup level. - Select dedicated proxy listeners for `WindowsMxc` on Windows across sessions, app-server command execution, and the sandbox CLI. - Rebuild the session proxy when routing changes, retaining its network policy decider. - Add a sandbox CLI execution path through the MXC sandbox transform when `WindowsMxc` is selected. ## Testing Extend configuration assertions for the selected sandbox type and the session refresh test to verify dedicated routing and policy decider retention on Windows. GitOrigin-RevId: 2a22192636c542022ec81a378a16c1bb6867e145
This commit is contained in:
@@ -881,6 +881,10 @@ impl NetworkProxy {
|
||||
self.http_addr
|
||||
}
|
||||
|
||||
pub fn managed_proxy_routing(&self) -> ManagedProxyRouting {
|
||||
self.managed_proxy_routing
|
||||
}
|
||||
|
||||
pub fn socks_addr(&self) -> SocketAddr {
|
||||
#[cfg(target_os = "windows")]
|
||||
if let Some(runtime) = self.windows_runtime.as_ref() {
|
||||
|
||||
Reference in New Issue
Block a user