-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Proper proxy support on windows & mac #6840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
779416e
e88e9f3
16e7a46
2b8dddb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,7 +38,7 @@ thiserror = "1.0" | |
| clap = { version = "4.4", features = ["derive"] } | ||
| serde_yaml = "0.9.34" | ||
| utoipa = { version = "4.1", features = ["axum_extras", "chrono"] } | ||
| reqwest = { workspace = true, features = ["json", "rustls-tls", "blocking", "multipart"], default-features = false } | ||
| reqwest = { workspace = true, features = ["json", "rustls-tls", "blocking", "multipart", "system-proxy"], default-features = false } | ||
|
||
| tokio-util = "0.7.15" | ||
| serde_path_to_error = "0.1.20" | ||
| tokio-tungstenite = { version = "0.28.0", features = ["rustls-tls-native-roots"] } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,6 +19,7 @@ tokio = { workspace = true } | |
| reqwest = { workspace = true, features = [ | ||
| "json", | ||
| "rustls-tls-native-roots", | ||
| "system-proxy", | ||
|
||
| ], default-features = false } | ||
|
|
||
| [dependencies] | ||
|
|
@@ -34,7 +35,7 @@ anyhow = { workspace = true } | |
| thiserror = "1.0" | ||
| futures = { workspace = true } | ||
| dirs = "5.0" | ||
| reqwest = { workspace = true, features = ["rustls-tls-native-roots", "json", "cookies", "gzip", "brotli", "deflate", "zstd", "charset", "http2", "stream", "blocking", "multipart"], default-features = false } | ||
| reqwest = { workspace = true, features = ["rustls-tls-native-roots", "json", "cookies", "gzip", "brotli", "deflate", "zstd", "charset", "http2", "stream", "blocking", "multipart", "system-proxy"], default-features = false } | ||
| tokio = { workspace = true } | ||
| serde = { version = "1.0", features = ["derive"] } | ||
| serde_json = { workspace = true } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as in
goose: adding the "system-proxy" feature alone doesn’t enable proxy usage unless the runtime code opts in when constructingreqwest::Clients, so this change likely doesn’t achieve the PR goal by itself.