[net/dns] Test IPv6 support via UDP connect (measurement)
commit9db6f70521602a33fed39a5ef6e4a6185b43d79f
authorszym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 10 Apr 2013 18:10:51 +0000 (10 18:10 +0000)
committerszym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 10 Apr 2013 18:10:51 +0000 (10 18:10 +0000)
tree97dfa1f45c7912416d23c7b21db8a60017aa6165
parenteb34217aa21675ecd6f039a21df993d6e88e28d2
[net/dns] Test IPv6 support via UDP connect (measurement)

Network interface enumeration is expensive and requires absolutely no false negatives
in network change detection. In contrast bionic (Android libc) connects a UDP socket
to an IPv6 address which confirms that the kernel can route to such address.

This CL adds the UDP connect test to measure its performance compared to the probe.

BUG=223876

Review URL: https://chromiumcodereview.appspot.com/13812002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193421 0039d316-1c4b-4281-b951-d872f2087c98
net/dns/host_resolver_impl.cc