From 6ed100f2a3f41b2a08fa1d8240583bcd747efbdc Mon Sep 17 00:00:00 2001 From: messense Date: Fri, 11 Aug 2023 11:54:20 +0800 Subject: [PATCH] Support `ALL_PROXY` in upload --- src/upload.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/upload.rs b/src/upload.rs index ca08197ec..a547bc0ed 100644 --- a/src/upload.rs +++ b/src/upload.rs @@ -360,6 +360,8 @@ fn http_proxy() -> Result { .or_else(|_| env::var("https_proxy")) .or_else(|_| env::var("HTTP_PROXY")) .or_else(|_| env::var("http_proxy")) + .or_else(|_| env::var("ALL_PROXY")) + .or_else(|_| env::var("all_proxy")) } #[cfg(any(feature = "native-tls", feature = "rustls"))]