feat: include network_proxy in /debug-config

This commit is contained in:
Michael Bolin
2026-02-09 23:26:00 -08:00
parent 59c06e50b6
commit 316e0ade30
9 changed files with 84 additions and 3 deletions
+12
View File
@@ -234,6 +234,18 @@ impl NetworkProxy {
NetworkProxyBuilder::default()
}
pub fn http_addr(&self) -> SocketAddr {
self.http_addr
}
pub fn socks_addr(&self) -> SocketAddr {
self.socks_addr
}
pub fn admin_addr(&self) -> SocketAddr {
self.admin_addr
}
pub fn apply_to_env(&self, env: &mut HashMap<String, String>) {
// Enforce proxying for all child processes when configured. We always override to ensure
// the proxy is actually used even if the caller passed conflicting environment variables.