platform_bionic/libc/dns
Bernie Innocenti 58d13622a5 Make the resolver retry timeout configurable via __res_params
The primary motivation is speeding up tests for non-responsive
nameservers. It's also base infrastructure for future work to compute
retry timeouts dynamically.

Using default timeouts (RES_TIMEOUT = 5 seconds):
  ResolverTest.GetAddrInfoV6_nonresponsive (45141 ms)

With base_timeout_msec=100:
  ResolverTest.GetAddrInfoV6_nonresponsive (1264 ms)

Test: executed unsubmitted test from aosp/713993
Change-Id: Id902089ca69ca8d28032180ba51e8937262ef490
2018-08-08 15:45:19 +09:00
..
include Make the resolver retry timeout configurable via __res_params 2018-08-08 15:45:19 +09:00
nameser Remove nonexported _ns_flagdata from public header. 2016-04-29 16:39:50 -07:00
net Mark getaddrinfo functions with __BIONIC_WEAK_FOR_NATIVE_BRIDGE mark 2018-03-14 17:42:15 +01:00
resolv Make the resolver retry timeout configurable via __res_params 2018-08-08 15:45:19 +09:00