Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Also add proxy to zed http client (#7184)

Conrad Irwin3df7da236d54
diff --git a/crates/util/src/http.rs b/crates/util/src/http.rs
index eedb1239172..aff5093b732 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<ZedHttpClient> {
isahc::HttpClient::builder()
.connect_timeout(Duration::from_secs(5))
.low_speed_timeout(100, Duration::from_secs(5))
+ .proxy(http_proxy_from_env())
.build()
.unwrap(),
),