Description[net/dns] Serve requests from HOSTS file if possible.
If the DnsConfig is available, we can serve the requests synchronously in Resolve. However, we might not receive the DnsConfig until the Job is placed in the queue. In that case, we attempt to serve the jobs once DnsConfig is available.
BUG=114826
TEST=./net_unittests --gtest_filter=HostResolverImplTest.ServeFromHosts
Original review: https://chromiumcodereview.appspot.com/9667025/
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126697
Patch Set 1 #
Total comments: 4
Patch Set 2 : Handle lack of IPv6 support. #
Messages
Total messages: 6 (0 generated)
|