Commit 316cb337 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

In test_proxy_header(), use IP address 192.0.2.1 .

This address is from reserved range (rfc5737), and this ensures that DNS
won't resolve it into a name
parent f93d5d92
...@@ -19805,9 +19805,9 @@ static void test_proxy_header_ignore() ...@@ -19805,9 +19805,9 @@ static void test_proxy_header_ignore()
static void test_proxy_header() static void test_proxy_header()
{ {
test_proxy_header_tcp("127.0.0.2",3333); test_proxy_header_tcp("192.0.2.1",3333);
test_proxy_header_tcp("2001:db8:85a3::8a2e:370:7334",2222); test_proxy_header_tcp("2001:db8:85a3::8a2e:370:7334",2222);
test_proxy_header_tcp("::ffff:127.0.0.2",2222); test_proxy_header_tcp("::ffff:192.0.2.1",2222);
test_proxy_header_localhost(); test_proxy_header_localhost();
test_proxy_header_ignore(); test_proxy_header_ignore();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment