Fix a bug where fallback from AF_INET6 to AF_INET would not work properly together...
authorSteinar H. Gunderson <sesse@google.com>
Tue, 16 Oct 2007 21:27:51 +0000 (21:27 +0000)
committerSteinar H. Gunderson <sesse@google.com>
Tue, 16 Oct 2007 21:27:51 +0000 (21:27 +0000)
commit6bd2b895fb640d75990edecf322f1fc5f002c431
treeb4dc30ca4486861b56d137aa2e6ab6368da3657c
parent92b8afea6addb3e062e3072e5aa0bc74ac8cbe0f
Fix a bug where fallback from AF_INET6 to AF_INET would not work properly together with relative search; if you had a search path of .a.com and .b.com, and foo.a.com would return ARES_ENODATA and foo.b.com would return ARES_ENOTFOUND, the lookup would not properly retry with AF_INET as it forgot the first ARES_ENODATA.
ares_search.c