diff options
author | Bernie Innocenti <codewiz@google.com> | 2018-07-29 18:21:23 +0900 |
---|---|---|
committer | Bernie Innocenti <codewiz@google.com> | 2018-08-08 15:45:19 +0900 |
commit | 58d13622a573a27ab8b0f96f57d116a4283a8fc8 (patch) | |
tree | 3c6b74f9054fb1941ed1079ac8953ab824a6b58d /libc/stdio/vfprintf.cpp | |
parent | f2fb3b11c611536b19d4ce8949dffe7f151854b5 (diff) |
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
Diffstat (limited to 'libc/stdio/vfprintf.cpp')
0 files changed, 0 insertions, 0 deletions