Skip to content

Commit 590556e

Browse files
authored
Merge pull request #2637 from kinnison/it-was-the-dns
download: Use an IP address when testing socks support
2 parents c1de43f + a3ccb58 commit 590556e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

download/tests/read-proxy-env.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fn socks_proxy_request() {
6464
});
6565

6666
let env_proxy = |url: &Url| for_url(&url).to_url();
67-
let url = Url::parse("http://example.org").unwrap();
67+
let url = Url::parse("http://192.168.0.1/").unwrap();
6868

6969
let client = Client::builder()
7070
.proxy(Proxy::custom(env_proxy))

0 commit comments

Comments
 (0)