A C library for asynchronous DNS requests (grpc依赖)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

68 lines
3.0 KiB

c-ares version 1.11.0
Changes:
o Add a unit test suite
o Allow builds with code converage with --enable-code-coverage configure option
o Allow library-wide override of malloc/free
o Allow multiple -s options to the ahost command
o api: Expose the ares_library_initialized() function
o api: Add ares_set_sortlist(3) entrypoint
o api: Add entrypoints to allow use of per-server ports
o api: introduce `ares_parse_txt_reply_ext`
o api: Add ares_set_socket_configure_callback()
Bug fixes:
o timeadd: make static
o timeoffset: made static and private
o nowarn: use <limits.h> instead of configure for size of long
o single_domain: Invalid memory access for empty string input
o ares_build.h: fix building on 64-bit powerpc
o Allow specification of search domain in ahost
o Don't override explicitly specified search domains
o ares_parse_soa_reply: Do not leak rr_name on allocation failure
o Update ahost man page to describe -s option
o host_callback: Fall back to AF_INET on searching with AF_UNSPEC
o Add -t u option to ahost
o CONTRIBUTING: added
o ares_set_servers_csv: fix NULL dereference
o Fix integer shift overflow if both tcp_socket and udp_socket are set
o fix acountry memory leak
o lookup_service: prevent tmpbuf from overrunning
o ares_getnameinfo.3: there is no ares_getaddrinfo
o init_by_defaults: Continue loop if space for hostname not large enough
o Destroy options if ares_save_options fails
o ares__read_line: free buf on realloc failure
o added define for visual studio 2013
o windows: fix slow DNS lookup issue
o Use libresolv to initialize cares on iPhone targets
o buildconf: remove check for libtool, it only requires libtoolize
o init_by_resolv_conf: Don't exit loop early leaving uninitialized entries
o ahost: check the select() return code
o configure_socket: explicitly ignore return code
o read_tcp_data: don't try to use NULL pointer after malloc failure
o Distribute all man pages
o ares_expand_name: check for valid bits in label length
o ares__read_line: clear buf pointer on realloc failure
o process_answer: fix things up correctly when removing EDNS option
o ares_parse_txt_reply: propagate errors from per-substring loop
o ares_gethostbyname: don't leak valid-but-empty hostent
o ares_init_options: don't lose init failure
o ares_dup: clear new channel on failure
o config_sortlist: free any existing sortlist on (re)alloc failure
o ares_striendstr: fix so non-NULL return can happen
o bitncmp: update comment to match code behaviour
o ares_set_servers_csv.3: make return type match code
o init_by_resolv_conf: ignore `fopen` errors to use default values
o Use "resolve" as synonym of "dns" in nsswitch.conf
o ares_win32_init: make LoadLibrary work when using UNICODE too
Thanks go to these friendly people for their efforts and contributions:
Andrew Andkjar, Andrew Ayer, Daniel Stenberg, David Drysdale,
Doug Kwan, Fedor Indutny, Frederic Germain, Gisle Vanem, Gregor Jasny,
Guenter Knauf, Jakub Hrozek, Lei Shi, Nicolas "Pixel" Noble,
Svante Karlsson, Tor Arntsen, Yang Tse
Have fun!