bionic/libc/dns
Lorenzo Colitti e5477f83b0 Fail queries fast if no DNS servers are configured.
When no DNS servers are configured (and thus there is no chance
that the DNS query will suceed), res_nsend returns early, but
it does not tell the cache that the query has failed.
Therefore, if the caller retries the query, it will block for
PENDING_REQUEST_TIMEOUT (= 20 seconds) waiting for the "existing
query" (which isn't actually doing anything) to complete.

Bug: 18240188
Bug: 18327075
Change-Id: I0df13ff4a17ee65e640be96695a3af31b020963a
2014-12-01 20:03:25 +00:00
..
include Revert most of "Cleanup: Delete dead code." 2014-08-06 13:38:16 -04:00
nameser Fix broken pointer overflow check ns_name_unpack() 2014-03-06 18:39:29 +00:00
net am 2a70aba8: am ab4fc823: Merge "Fix all resolv warnings and turn on -Werror." 2014-07-02 23:54:12 +00:00
resolv Fail queries fast if no DNS servers are configured. 2014-12-01 20:03:25 +00:00
gethnamaddr.c Cleanup: Delete dead code. 2014-07-22 11:24:17 -07:00