next_lookup(hquery, hquery->nodata_cnt?ARES_ENODATA:status); } else if (status == ARES_EDESTRUCTION) { @@ -677,6 +682,7 @@ void ares_getaddrinfo(ares_channel channel, hquery->ai = ai; hquery->next_domain = -1; hquery->remaining = 0; ...
…es#428) ares_gethostbyname() and ares_getaddrinfo() do a lot of similar things, however ares_getaddrinfo() has some desirable behaviors that should be imported into ares_gethostbyname(). For one, it sorts the address lists for the most likely to succeed based on the current system rout...
RFC2308, RFC9520. Negative Caching of DNS Resolution Failures. RFC6724. IPv6 address sorting as used by ares_getaddrinfo(). RFC7413. TCP FastOpen (TFO) for 0-RTT TCP Connection Resumption. RFC3986. Uniform Resource Identifier (URI). Used for server configuration.About...
if available use ares_getaddrinfo instead of ares_gethostbyname 9edff79 atupone requested a review from blast007 November 10, 2024 15:37 atupone mentioned this pull request Nov 10, 2024 Deprecated c-ares function calls #353 Closed View details atupone merged commit 9edff79 into BZF...
c-ares#257) Browse files Browse the repository at this point in the history * Service support has been added to getaddrinfo. * ares_parse_a/aaaa_record now share code with the addrinfo parser. * Private ares_addrinfo structure with useful extensions such as ttls (including cname ttls)...
I set both hints.ai_socktype and hints.ai_protocol when i call ares_getaddrinfo, but both of them takes no effect on result, is this a bug?Member bradh352 commented Mar 25, 2020 its probably an oversight as those values just basically get copied into the result. @ki11roy care to ...