From 3df7da236d54c0011ae85297e76422bf5a5da486 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Wed, 31 Jan 2024 21:40:12 -0700 Subject: [PATCH] Also add proxy to zed http client (#7184) Follow up to #6765 because I couldn't figure out how to add to that PR. Release Notes: - N/A --- crates/util/src/http.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/util/src/http.rs b/crates/util/src/http.rs index eedb123917..aff5093b73 100644 --- a/crates/util/src/http.rs +++ b/crates/util/src/http.rs @@ -44,6 +44,7 @@ pub fn zed_client(zed_host: &str) -> Arc { isahc::HttpClient::builder() .connect_timeout(Duration::from_secs(5)) .low_speed_timeout(100, Duration::from_secs(5)) + .proxy(http_proxy_from_env()) .build() .unwrap(), ),