aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_parse_a_reply.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-07-03 11:32:35 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-07-03 11:32:35 +0000
commite3b5673e9895fa53525eb3b3620e3ececf0761ff (patch)
tree23da0f25485ab62b19a202b080499c792e6b5528 /ares/ares_parse_a_reply.c
parent82412f218fe6809288c718c5b43b9675eb2856f5 (diff)
- Phil Blundell: If you ask ares_gethostbyname() to do an AF_INET6 lookup and
the target host has only A records, it automatically falls back to an AF_INET lookup and gives you the A results. However, if the target host has a CNAME record, this behaviour is defeated since the original query does return some data even though ares_parse_aaa_reply() doesn't consider it relevant. Here's a small patch to make it behave the same with and without the CNAME.
Diffstat (limited to 'ares/ares_parse_a_reply.c')
0 files changed, 0 insertions, 0 deletions