DescriptionUse manually constructed IPv6 socket addresses for tests, rather than system created ones.
The advantage is that GURL's parsing of IPv6 addresses works on all systems, whereas getaddrinfo(ipv6_literal) only succeeds on IPv6 enabled systems.
This allows the tests to run consistently on all systems, including our own WinXP buildbots (which do not support IPv6).
BUG=http://crbug.com/16452
TEST=[net_unittests] SOCKS5ClientSocketTest.IPv6Domain, SOCKSClientSocketTest.SOCKS4AIfDomainInIPv6
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21053
Patch Set 1 #Patch Set 2 : Add missing DEPS file #Patch Set 3 : Add some DCHECKs to check for empty replacements #Patch Set 4 : Fix AddRuleWithLatency() #
Total comments: 4
Patch Set 5 : Address (one of) willchan's comments #Patch Set 6 : sync #
Messages
Total messages: 3 (0 generated)
|