We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39fd779 commit 89b2cffCopy full SHA for 89b2cff
src/client/proxy/matcher.rs
@@ -341,7 +341,7 @@ fn parse_env_uri(val: &str) -> Option<Intercept> {
341
if s == &http::uri::Scheme::HTTP || s == &http::uri::Scheme::HTTPS {
342
is_httpish = true;
343
s.clone()
344
- } else if s.as_str() == "socks5" || s.as_str() == "socks5h" {
+ } else if matches!(s.as_str(), "socks4" | "socks4a" | "socks5" | "socks5h") {
345
346
} else {
347
// can't use this proxy scheme
0 commit comments