Skip to content

Commit ded267b

Browse files
authored
Merge pull request #24 from Barre/remove_trust_dns
Remove trust dns, disable system proxy use
2 parents 4c32348 + 9d22447 commit ded267b

File tree

3 files changed

+6
-193
lines changed

3 files changed

+6
-193
lines changed

Cargo.lock

Lines changed: 5 additions & 191 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

privaxy/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ reqwest = { version = "0.11.10", features = [
4444
"gzip",
4545
"deflate",
4646
"json",
47-
"trust-dns",
4847
"brotli",
4948
] }
5049
once_cell = "1.10.0"

privaxy/src/server/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ async fn main() {
5050
let client = reqwest::Client::builder()
5151
.use_rustls_tls()
5252
.redirect(Policy::none())
53-
.trust_dns(true)
53+
.no_proxy()
5454
.gzip(true)
5555
.brotli(true)
5656
.deflate(true)

0 commit comments

Comments
 (0)