Skip to content

Commit

Permalink
Support ALL_PROXY in upload
Browse files Browse the repository at this point in the history
  • Loading branch information
messense authored Aug 11, 2023
1 parent 5ead412 commit 6ed100f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,8 @@ fn http_proxy() -> Result<String, env::VarError> {
.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"))]
Expand Down

0 comments on commit 6ed100f

Please sign in to comment.