resolve with c-ares: don't resolve IPv6 when not working
authorMaxim Prohorov <prohorov.max@gmail.com>
Tue, 13 Mar 2012 21:52:39 +0000 (22:52 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 13 Mar 2012 21:52:39 +0000 (22:52 +0100)
commit97386c3c84251ca6a185916b28e61c100a901c1a
tree4036916a1b22d327b39ee9c222e20e4935bb70d9
parente25590a2b38e1a2a653c3905cce67545da66c8c3
resolve with c-ares: don't resolve IPv6 when not working

If the Curl_ipv6works() function says no, there is no reason to try AAAA
names even if libcurl was built with IPv6 support enabled.

Bug: http://curl.haxx.se/mail/lib-2012-03/0045.html
lib/asyn-ares.c