refactor: cleanup

This commit is contained in:
zhom committed 2026-09-08 07:04:14 +04:00
1 parent c417c669c4
commit 598d3bd513
11 files changed
+250 -253

No files matched your search

+1 -1
View File
@@ -1191,7 +1191,7 @@ fn build_reqwest_client_with_proxy(
Proxy::http(upstream_url)?
}
"socks5" => {
// Donut: force REMOTE (proxy-side) DNS for plaintext HTTP over a SOCKS5
// Force REMOTE (proxy-side) DNS for plaintext HTTP over a SOCKS5
// upstream. reqwest maps the bare `socks5` scheme to DnsResolve::Local,
// which resolves the destination hostname on the HOST (getaddrinfo) BEFORE
// connecting — leaking the destination domain to the host's DNS resolver