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"))]