Lines Matching +full:ipv4 +full:- +full:config +full:- +full:causing +full:- +full:fallback +full:- +full:to +full:- +full:tcp
1 Changelog for the c-ares project. Generated with git2changes.pl
6 - c-ares 1.16.1 release prep
8 - update travis to use xcode11.4
10 - Prevent possible double-free in ares_getaddrinfo() if ares_destroy() is called
12 In the event that ares_destroy() is called prior to ares_getaddrinfo() completing,
13 it would result in an invalid read and double-free due to calling end_hquery() twice.
18 - [shelley vohr brought this change]
32 - travis: CloudFlare does not allow T_ANY requests, so live tests that use it fail. Disable.
34 - travis: bump macos image to the latest
36 - cast-align warnings are false for struct sockaddr, silence
38 Create a macro to silence false cast-align warnings when casting
39 struct sockaddr * to struct sockaddr_in * and struct sockaddr_in6 *.
43 - MacOS: Enable libresolv support for retrieving DNS servers like iOS does.
46 - [Dmitry Igrishin brought this change]
55 - travis: make valgrind use cmake for tests
57 - dont try to use libtool to run valgrind
59 - valgrind requires libtool installed to wrap tests
61 - scan build 7
63 - fix travis live test
65 - add debug for travis
67 - try without sudo
69 - attempt to modernize travis build environment
72 - [Teemu R brought this change]
76 …Some DNS servers intentionally "misuse" the obsoleted CHAOS (CH) qclass to provide things like `ve…
78 C-ares was not allowing such use cases.
83 - Remove warnings from ares_getaddrinfo.3 man page
85 As reported in #319, non-standard macros of .IN were used.
91 - ares_getaddrinfo man page render better for man2html
93 - update man pages to render better for man2html
98 - 1.16.0 release notes draft
100 - attempt to fix double-free introduced in e0517f9
103 - [David Drysdale brought this change]
107 OSS-Fuzz has reported a double-free with the fuzzer input file
109 ./test/aresfuzz test/fuzzinput/clusterfuzz-5637790584012800
111 Bisecting the failure points to commit e0517f97d988 ("Parse SOA records
114 - [Brad House brought this change]
123 - [Brad House brought this change]
132 - Add AppVeyor badge
134 - bump c-ares version to 1.16.0. test AppVeyor integration.
137 - [Brad House brought this change]
146 - [Brad House brought this change]
152 Also update AppVeyor to test cmake builds.
157 - [Brad House brought this change]
163 Wrap with a Macro to change the behavior.
168 - [Dron Rathore brought this change]
174 …The basic idea of sticking to RFC that a ns_t_any too should return an SOA record is something ope…
177 - https://blog.cloudflare.com/what-happened-next-the-deprecation-of-any/
178 - https://tools.ietf.org/html/draft-ietf-dnsop-refuse-any
183 - [Stephen Bryant brought this change]
189 ie: run `cpack -G RPM` (or "DEB") after building with CMake.
194 Fix By: Stephen Bryant (@bf-bryants)
196 - [tjwalton brought this change]
200 …hould be returned instead, however the hosts pointer will still be present to provide the alias li…
209 - [Michal Rostecki brought this change]
214 contained test cases trying to make DNS queries with the google.com
216 requirement should be defined in the ares-test-live.cc file and contain
217 "Live" prefix to filter them out with `--gtest_filter=-*.Live*` on
222 - [Adam Majer brought this change]
228 count is invalid and the structure points to gibberish.
232 Issue: https://github.com/c-ares/c-ares/issues/300
236 - [Kyle Edwards brought this change]
238 CMake: Provide c-ares version in package export file (#296)
244 - [Ben Noordhuis brought this change]
246 Accept invalid /etc/resolv.conf lookup values, ability to build container tests (#274)
248 …* Add CARES_BUILD_CONTAINER_TESTS CMake option to add ability to build the Linux-only containerize…
251 Before this commit invalid `lookup` values resulted in c-ares not using
257 - [Christian Ammer brought this change]
272 - [Vy Nguyen brought this change]
274 Move variables into the block where it is used to avoid unused-vars (#281)
276 Warning uncovered with [-Werror, -Wunused-variables]
280 - [Vy Nguyen brought this change]
282 …s to avoid conflicting with system ones and remove unsed variables. (Otherwise code will break onc…
284 Fix new getaddrinfo code to not redefine macros on some systems.
288 - [Egor Pugin brought this change]
296 - [Abhishek Arya brought this change]
298 Add OSS-Fuzz fuzzing badge (#278)
301 https://google.github.io/oss-fuzz/getting-started/new-project-guide/#status-badge
303 Patch By: Abhishek Arya (@inferno-chromium)
305 - [Peter Eisentraut brought this change]
310 the item for ednspsz, leading to broken layout. Fix that.
314 - [Gregor Jasny brought this change]
321 - [lifenjoiner brought this change]
323 keep command line usage up to date (#256)
325 adig and ahost built-in help did not match args taken.
327 Fix-By: @lifenjoiner
329 - [Dan Noé brought this change]
331 ares-test.cc: Handle nullptr in AddrInfo ostream. (#268)
333 The const AddrInfo& argument to operator<< overload for AddrInfo can be
337 Fix-by: Dan Noé <dpn@google.com>
339 - [Dan Noé brought this change]
346 Fix-by: Dan Noé <dpn@google.com>
348 - [Andrew Selivanov brought this change]
356 - [Andrew Selivanov brought this change]
364 Reported-By: David Drysdale (@daviddrysdale)
365 Fix-By: Andrew Selivanov (@ki11roy)
367 - [Andrew Selivanov brought this change]
371 Fixes segfault when trying to ares_parse_aaaa with AF_INET and vise versa.
375 - work around mingw compile failure
377 - c++ requires explicit casts
379 - support EnvValue on Windows by implementing setenv/unsetenv
381 - [Andrew Selivanov brought this change]
385 * Service support has been added to getaddrinfo.
388 as well as the ability to list multiple cnames in chain of lookups
392 - [Andrew Selivanov brought this change]
401 - Fix c89 compilation support broken by .onion rejection changes
407 - [kedixa brought this change]
411 Due to an order of incrementing the remaining queries and calling ares_query, on a bad domain
415 Fixed-By: @kedixa
417 - [Darrin W. Cullop brought this change]
421 Fix link issues caused by missing library that appears to only be required on ARM (though
422 docs don't list this restriction). Doesn't hurt to require it everywhere.
425 Fixed-By: Darrin Cullop (@dwcullop)
427 - [kedixa brought this change]
431 …_OPT_NDOTS), where it will repeat the same query over and over as the hquery->next_domain doesn't …
435 - Portability fix for ares__sortaddrinfo()
441 - [Khaidi Chu brought this change]
443 fix: init bufp before reject .onion to make it can be free correctly (#241)
445 …When querying a .onion domain, it returns directly without setting bufp to NULL. A subsequent free…
449 - [Andrew Selivanov brought this change]
451 Add ares__sortaddrinfo() to support getaddrinfo() sorted results (#239)
456 …The latest version is essentially the same, except two additional parameters to test connection wi…
467 - [Christian Ammer brought this change]
469 Increase portability of `ares-test-mock-ai.cc` (#235)
471 * using portable ares_inet_pton and updated includes in ares-test-mock-ai
472 * forgot to remove deleted ares-test-ai.cc in Makefile.inc
476 - [Fabrice Fontaine brought this change]
478 m4/xc-cc-check.m4: use XC_CHECK_BUILD_FLAGS (#236)
483 …https://git.buildroot.net/buildroot/tree/package/c-ares/0001-use_check_build_instead_of_check_user…
485 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
486 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
489 - [Christian Ammer brought this change]
493 …est fixes a bug in the function add_to_addrinfo which task is to add new addrinfo items to the ai_…
495 Additional mock server test classes (ares-test-mock-ai.cc):
503 Additional live tests (ares-test-live-ai.cc):
510 - [Christian Ammer brought this change]
520 - [Christian Ammer brought this change]
525 it is expected to come closer to conformance prior to the next release.
532 - [Ben Noordhuis brought this change]
536 The LiveGetLocalhostByAddrV6 test expected to see "localhost" in the
537 result when doing an address-to-name lookup for ::1 but on my system
538 that resolves to "ip6-loopback" because of this stanza in /etc/hosts:
541 ::1 ip6-localhost ip6-loopback
546 - [Ben Noordhuis brought this change]
555 - ares_library_init_android.3: minor syntax edits, fixed AVAILABILITY
560 - last minute 1.15.0 addition
562 - [Ben Noordhuis brought this change]
569 to requests for .onion names by resolving them according to
570 [tor-rendezvous] or by responding with NXDOMAIN.
572 A legacy client may inadvertently attempt to resolve a .onion
574 is attempting to use Tor to reach a specific service. Malicious
575 resolvers could be engineered to capture and record such leaks,
576 which might have very adverse consequences for the well-being
582 - prepare for c-ares 1.15.0 release
584 - AIX Build Fix
586 AIX attempts to include both nameser_compat.h and onameser_compat.h. It appears
587 the proper fix is to define _USE_IRS so that only nameser_compat.h is used.
592 - Fix crash in ares_dup() due to new ARES_OPT_RESOLVCONF
597 because ares_strdup() isn't NULL-safe if no custom path was set.
603 - [Sarat Addepalli brought this change]
605 Add ares_init_options() configurability for path to resolv.conf file
607 Add resolvconf_path to end of struct ares_options with ARES_OPT_RESOLVCONF option
608 so on Unix-like systems a custom path can be specified. If no path is specified,
615 - remove stale variables
617 - fix prototype name for ares_strsplit_free()
619 - add missing prototype
621 - simplify ares_strsplit() and create ares_strsplit_free() helper function
623 - missing ares_strsplit.h from HHEADERS for inclusion in distribution
625 - [Ruslan Baratov brought this change]
629 …Add ability to exclude building of tools (adig, ahost, acountry) in CMake. This should also close…
634 - [flyingdutchman23 brought this change]
642 - [John Schember brought this change]
646 …roperties.getDomains() to get a list of search domains and adds them to the suffix list. This als…
648 Submitter: John Schember (@user-none)
650 Approved-by: Brad House (@bradh352)
652 - [afalin brought this change]
660 - Be consistent with indention in CMakeLists.txt
668 - [flyingdutchman23 brought this change]
670 …Fix modern gcc warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source
672 Silence warning about using src to determine number of bytes to copy.
679 - [Andi Schnebinger brought this change]
681 fix stringop-overflow warning of GCC (#201)
683 When using a modern GCC to compile c-ares, there is a stringop-overflow warning.
684 This patch simply silences the false-positive warning, there is no actual code flaw.
686 Bug: https://github.com/c-ares/c-ares/pull/201
690 - [David Drysdale brought this change]
698 - [Brad Spencer brought this change]
700 Apply the IPv6 server blacklist to all nameserver sources, not just Windows (#193)
702 …ameserver blacklist should apply to all OSes. In a mailing list post, @bradh352 agreed and suggest…
704 …-specific to being a general feature of config_nameservers(), no matter the nameserver source. It …
706 Fix By: Brad Spencer @b-spencer
707 PR: https://github.com/c-ares/c-ares/pull/193
709 - [Brad Spencer brought this change]
711 Fix warnings emitted by MSVC when using -W4 (#192)
713 … emitted by recent versions of MSVC when compiling with -W4. Half of the changes are in Windows-sp…
715 … the function pointers not being stable across DLL boundaries or something to that effect, so for …
717 Fix By: Brad Spencer @b-spencer
718 PR: https://github.com/c-ares/c-ares/pull/192
720 - [David Hotham brought this change]
724 Changing name servers doesn't work, per #41. Better to return an error code than to crash.
726 Fix-by: David Hotham @dimbleby
729 - [Tobias Nießen brought this change]
734 - [Brad Spencer brought this change]
736 Harden and rationalize c-ares timeout computation (#187)
738 * Harden and rationalize c-ares timeout computation
741 When c-ares sends a DNS query, it computes the timeout for that request as follows:
743 timeplus = channel->timeout << (query->try_count / channel->nservers);
745 …I see two issues with this code. Firstly, when either try_count or channel->timeout are large enou…
747 …to avoid a "packet storm". But, the algorithm appears to only reduce the timeout by an amount prop…
749 …om all expiring at the same time really is desirable, then it seems better to extend the timeout b…
751 Consider also the documentation of channel->timeout in ares_init_options():
753 …The number of milliseconds each name server is given to respond to a query on the first try. (Afte…
757 …to address all of these concerns without trying to make the algorithm much more sophisticated. Aft…
764 - distribute ares_android.h
770 Bug: https://c-ares.haxx.se/mail/c-ares-archive-2018-04/0000.shtml
772 - ares_set_servers_csv() on failure should not leave channel in a bad state
774 If bad data is passed to ares_set_servers_csv() or
776 configured DNS servers, then a call to ares_send() will fail due
777 to a bad malloc which may have undefined behavior.
780 sanity check was added in ares_send() to ensure nservers >= 1 or
783 Bug: https://c-ares.haxx.se/mail/c-ares-archive-2018-03/0000.shtml
784 Reported-by: Francisco Sedano Crippa
786 - docs: Not all manpages are listed
789 https://c-ares.haxx.se/docs.html
790 due to not being listed in Makefile.inc. Add missing docs and
796 - ares_android.c: fix warning: ISO C forbids an empty translation unit
798 - RELEASE-NOTES: some more work we did and people who helped
801 - travis: skip Autotools style testing for cmake
805 - travis: standardize CMake test off of Autotools tests
810 - travis: Enable building tests for CMake
812 Travis should auto-build and run tests for cmake builds now that
815 - fix version in pkgconfig
817 - Add version update to CMakeLists in maketgz
819 - Release prep. Add support for pkgconfig in cmake, set versions appropriately
822 - CMake: Add tests
825 - [Gregor Jasny brought this change]
829 - Cmake 3.1 instead of 3.2.1 should be the minimum
831 - Update RELEASE-NOTES and RELEASE-PROCEDURE.md to prepare for next release
833 - get rid of c++ style comments
835 - Use trusty for all builds, precise is EOL. Update clang and cmake versions.
837 - Current CMakeLists.txt doesn't support 2.8.12 anymore, we need to bump the version to 3.2.1 minim…
839 - Re-organize sections in INSTALL.md and add CMake section
841 - [Sergey Kolomenkin brought this change]
845 - document handling of timeouts for ares_process and ares_process_fd to close PR #57
847 - As per Issue #155, since we do not require gethostname() during init, if it fails, there's no rea…
850 - [David Drysdale brought this change]
855 - [Antonio Tajuelo brought this change]
857 Added coderelease.io badge to readme.md for letting people subscribe to new versions (#174)
859 - [Sheel Bedi brought this change]
861 Update year in LICENSE.md to 2018 (#170)
864 - [David Drysdale brought this change]
868 As per https://github.com/travis-ci/travis-ci/issues/9033, container
873 - [acthompson-google-com brought this change]
877 * Add Google LLC to AUTHORS.
884 - Embed fused Google Test 1.8.0
887 - [John Schember brought this change]
891 - CARES_CHECK_TYPE should reference variable so a warning is not produced for -Werror compatibility
893 - [Brad Spencer brought this change]
898 - travis: Only do coverage/distcheck on normal build
900 - travis: only do pip install on Linux
902 - travis: only test in IPv4 mode
906 - test: allow restriction to one IP address family
908 - [Roman Teterin brought this change]
913 - @gvanem says MSVC -RTCc option fails, looks erroneous to me, but the additional mask is harmless
915 - Fix some other mingw warnings
917 - Issue #143, get rid of windows build warning due to passing 'char **' to argument expecting 'cons…
919 - [Gregor Jasny brought this change]
923 - Android variants may not have __system_property_get
928 name servers is deprecated as of Oreo so should strictly be a fallback
932 - [David Hotham brought this change]
936 - ares_data.c: iterate through substructs when freeing
939 that large/heavily-nested responses could use up lots of stack.
941 - test: test ares_free_data on long chain of structs
943 - [Felix Yan brought this change]
948 - ares_gethostbyname.3: fix callback status values
950 - ARES_ENOTFOUND means the _name_ wasn't found
952 - ARES_ENODATA can be returned when a resolve fails
954 Reported-by: Jakub Hrozek
955 Bug: https://c-ares.haxx.se/mail/c-ares-archive-2011-06/0012.shtml
958 - [John Schember brought this change]
960 …Fix DNS server lookup breaking with Android O due to Android removing access to net.dns# system pr…
962 …to net.dns# has been removed (https://developer.android.com/about/versions/oreo/android-8.0-change…
964 …Now the only way to access the DNS server list is by using the Connectivity Manager though Java. T…
966 …to be set on the app. Existing applications most likely are not setting this and keeping the previ…
968 …ay to get the Connectivity Manager except though Java. Either being passed down to C directly or b…
970 - [Konstantinos Sofokleous brought this change]
976 - [Gergely Nagy brought this change]
980 When compiling c-ares with a build system that defines UNICODE,
981 bad versions of WinAPI functions are used causing failures or even
986 - [cmake] build fix on Solaris
989 - [Brad House brought this change]
993 win32 ipv6: add infrastructure to exclude ipv6 subnets that are known to cause issues
995 - [David Drysdale brought this change]
1002 - [David Drysdale brought this change]
1009 - [Anna Henningsen brought this change]
1016 It seems appropriate to treat `ares_cancel()` like `ares_destroy()`,
1024 - [David Hotham brought this change]
1029 - Preserve original DNS server order on Windows for equal metrics.
1031 qsort is not stable, in order to make it stable we need to record
1033 metrics are equal to prevent using DNS servers that may not work
1037 - [Anna Henningsen brought this change]
1043 function is designed to parse replies which also contain non-NAPTR
1052 - appveyor: run dnsdump as a sanity check
1054 - travis: run dnsdump as a sanity check
1056 - test: use ares_free_string() throughout
1061 - RELEASE-PROCEDURE.md: how to release
1067 - test: Build dnsdump on Windows too
1069 Thanks to Gisle Vanem for showing the way:
1070 …https://github.com/c-ares/c-ares/commit/b701af8a24cf9d173b1dbe5faedcea34642e92da#commitcomment-228…
1073 - [Christian Ammer brought this change]
1075 fix statement like #define - ares ssize_t define had a trailing semicolon (#120)
1078 - test: distribute the fuzzcheck.sh script
1085 means that `make -C test test` should work.)
1087 - test: run the name-parsing corpus check too
1090 - dist: don't build/ship PDF versions in release archives
1095 - ares_version.h: bump version
1100 - RELEASE-NOTES: 1.13.0
1102 - ares_set_socket_functions.3: added in 1.13.0
1105 - ares_parse_naptr_reply: check sufficient data
1111 - test: Feed in short NAPTR
1113 - test: Add fuzz input with short NAPTR
1115 - test: add ares_parse_naptr_reply to fuzzer
1117 - [noiz brought this change]
1119 Update ares.h to support compiling with QNX
1121 - [Dionna Glaze brought this change]
1123 Simple changes to appease stricter compilers.
1127 sprintf, which -Wformat-literal doesn't like. Usually one would use
1132 - [Gregor Jasny brought this change]
1137 Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
1140 - [ChristianAmmer brought this change]
1154 - [Thomas Köckerbauer brought this change]
1161 - ares_expand_name: limit number of indirections
1163 - test: fuzz input file that takes a while to process
1165 - test: copy data in fuzz regression driver
1170 - [David Drysdale brought this change]
1172 Convert char from ISO-8859-1 to UTF-8 (#99)
1176 - [Gregor Jasny brought this change]
1180 kubuntu-backports dropped the CMake package for Precise
1183 - [David Hotham brought this change]
1187 - test: use io.h not unistd.h for Windows
1189 - test: try building fuzz binaries on Windows
1191 - test: stick to int in ares-fuzz.c
1194 needs no c-ares dependency - it's a general driver for
1195 any libFuzzer-style entrypoint.
1197 - test: force ARES_OPT_NOROTATE for no-rotate tests
1199 - test: check expected NOROTATE value
1201 - ares_create_query: use ares_free not naked free
1204 ("ares_create_query: avoid single-byte buffer overwrite")
1207 - Need ares.h for ares_ssize_t
1209 - tests should not use ssize_t, use ares_ssize_t
1212 - [Brad House brought this change]
1217 Convert ssize_t to ares_ssize_t for portability since the public API now exposes this.
1220 - [Michael Osei brought this change]
1227 - [Brad House brought this change]
1232 https://c-ares.haxx.se/mail/c-ares-archive-2016-04/0000.shtml
1235 …* Dynamically find GetBestRoute2 since it is a Windows Vista+ symbol, and will fall back to prior …
1236 …dresses as the modifications should alleviate the concerns which caused us to prefer get_DNS_Netwo…
1237 * Update AppVeyor to use MinGW-w64 instead of the legacy MinGW
1243 Date: Fri, 29 Apr 2016 14:26:23 -0300
1245 On Windows, the c-ares DNS resolver tries first to get a full list of
1246 DNS server addresses by enumerating the system's IPv4/v6 interfaces and
1247 then getting the per-interface DNS server lists from those interfaces
1248 and joining them together. The OS, at least in the way the c-ares
1249 prefers to query them (which also may be the only or best way in some
1251 according to "current network conditions". Currently, c-ares will then
1252 try to use them in whatever order the nested enumeration produces, which
1253 may result in DNS requests being sent to servers on one interface
1255 to be used via another interface (intended to be used when the first
1256 interface is not available, for example). This, in turn, can lead to
1261 rule to chose which interface's DNS server list should be prioritized.
1266 answer. However, even if all DNS servers are assumed to give equally
1267 useful responses, it is reasonable to expect that some DNS servers will
1269 sorting the DNS server addresses using the Windows IPv4/v6 routing tables.
1271 For example, a request to DNS server C on interface 2 that is actually
1272 sent over interface 1 (which may happen to have the default route) may
1273 be rejected by or not delivered to DNS server C. So, better to use DNS
1276 By using the metric of the route to the DNS server itself as a proxy for
1277 priority of the DNS server in the list, this patch is able to adapt
1278 dynamically to changes in the interface list, the DNS server lists per
1283 seems useful because it will prioritize a lower-metric route's (and thus
1287 - [Sergii Pylypenko brought this change]
1289 docs: fixed references to ares_set_local_ip4 and ares_set_local_ip6
1291 - [Calle Wilund brought this change]
1299 - [Calle Wilund brought this change]
1304 - [Calle Wilund brought this change]
1312 - [Calle Wilund brought this change]
1314 ares-test: Add test helpers and cases for virtual socket IO
1316 * Added test case macro to automatically run tests twice, once "normal",
1318 * Changed most "live" query tests to run in dual mode to verify
1322 - [elcallio brought this change]
1329 these is probably more suited to deal with this.
1331 - [elcallio brought this change]
1337 c-ares channels.
1340 - test: ignore aresfuzzname binary
1343 - [Stephen Sorley brought this change]
1347 - Also add includes to TARGETS_INST_DEST
1349 - [Stephen Sorley brought this change]
1353 - CMake: Export targets
1355 - CMake: Use GNUInstallDirs for install location defaults
1358 - Update Makefile.am for renamed INSTALL.md
1361 - [David Drysdale brought this change]
1363 docs: convert INSTALL to MarkDown & tweak (#83)
1365 - [Gregor Jasny brought this change]
1367 Merge pull request #77 from stephen-sorley/cmake_modernize
1369 Updated CMake minimum version to 2.8.12.
1372 - Changed executables to depend directly on internal libcares target, instead of against
1373 the external-facing alias targets.
1375 - Updated Travis to pull CMake 2.8.12 from kubuntu-backports ppa.
1377 - Updated CMake minimum version to 2.8.12.
1379 …ndent libraries) are specified, to match the recommended standard practice for modern CMake. This …
1381 …Updated chain-building support to imitate new-style Find modules (import libs), instead of old-sty…
1384 - [Chris Araman brought this change]
1388 …7518c26, c41726b, and bc14ee7 brought this workaround to the CMake build system. This expands it t…
1392 - test: add fuzz entrypoint for ares_create_query()
1394 - test: Add gTest/gMock files to SOURCES
1397 to build the test suite because they are missing from the
1400 - travis: Move build scripts under travis/
1402 Travis doesn't always propagate errors in inline multi-line
1403 scripts, so move them all to be explicit shell scripts, each
1404 with set -e.
1406 - travis: check distributed tarball builds
1409 - dist: ship msvc_ver.inc too
1411 Reported-by: Bruce Stephens
1415 - [Aaron Bieber brought this change]
1419 - ares_version.h: bump, working on 1.12.1 now
1422 - [Gregor Jasny brought this change]
1426 Add CMake build system support to C-Ares.
1429 - suggested PROJECT_NAME change broke chain building as it needs the magic PROJECT_NAME set in the …
1431 - update MacOSX 10.12 detection
1433 - Expand XCode clock_gettime fix to include MacOS 10.12, not just iOS10
1436 - Revert "travis: work around bug in PyCParser"
1440 - travis: work around bug in PyCParser
1445 - PROJECT_SOURCE_DIR instead of CMAKE_CURRENT_SOURCE_DIR as per @gjasny
1447 - use a project name of c-ares as per @gjasny
1449 - Import curl conversion of Makefile.inc to cmake form dynamically as per bdoetsch@ameritech.net to…
1452 - dist: add ares_library_initialized.* to the tarball
1455 - test: check ares_create_query with too-long name
1458 - man pages: minor formatting edits
1461 - merge fc7917e from @daviddrysdale ... travis build updates for cmake
1463 - cleanups as per @gjasny ... Use naked IF statements and use NOT DEFINED
1468 - RELEASE-NOTES: 1.12.0
1470 - [David Drysdale brought this change]
1472 ares-test-misc: test ares_create_query with escaped trailing dot
1474 - ares_create_query: avoid single-byte buffer overwrite
1478 CVE-2016-5180
1480 Bug: https://c-ares.haxx.se/adv_20160929.html
1483 - CMake: Unify library versioning with the libtool methodology to make keeping library versions in …
1486 - ares_library_initialized.3: added
1488 - make: bump CARES_VERSION_INFO for release
1491 - man: update ares_init_options.3
1494 - ares_library_init.3: corrected the ares_library_init_mem proto
1497 - XCode v8 introduced clock_gettime() for iOS v10. However, it is a weak symbol, which means when …
1499 - Adds cmake build system support to C-Ares.
1503 build system. I've tried to go through as much of the autotools tests and
1505 as in-depth in CMake as they are for autotools ... it is unclear why some
1514 - README.md: remove space from link
1516 - README: link to the correct c-ares badge!
1518 Reported-by: David Hotham
1522 - docs: minor formatting edits
1524 - ares_destroy.3: formatting polish
1526 - ares_init.3: split the init docs into two separate man pages
1528 - SECURITY: point to the vulnerabilities page now
1530 - RELEASE-NOTES: synced with daa7235b1a5
1532 - ares_create_query.3: edit language
1534 Tried to make the man page more readable.
1537 - test: fix gMock to work with gcc >= 6.x
1540 https://github.com/google/googletest/issues/705#issuecomment-235067917
1543 - [Brad House brought this change]
1551 - api: add ARES_OPT_NOROTATE optmask value
1553 Fix up a couple of problems with configuring whether c-ares rotates
1557 (channel->optmask & ARES_OPT_ROTATE), which doesn't necessarily
1560 - the channel was originally configured without ARES_OPT_ROTATE
1562 - the /etc/resolv.conf file includes the 'rotate' option
1565 Secondly, it is not possible to reliably configure a channel
1566 to not-rotate; leaving off ARES_OPT_ROTATE is not enough, since
1570 - add an ARES_OPT_NOROTATE optmask value to allow explicit
1571 configuration of no-rotate behaviour
1572 - in ares_save_options(), report the value of channel->rotate
1576 In terms of back-compatibility:
1577 - existing apps that set ARES_OPT_ROTATE will continue to rotate,
1578 and to have ARES_OPT_ROTATE reported back from ares_save_options()
1579 - existing apps that don't set ARES_OPT_ROTATE will continue to
1580 use local config/defaults to decide whether to rotate, and will
1584 - ares_init_options: only propagate init failures from options
1590 failure), that failure needs to be reported back to the user; this
1594 overridden -- in particular, if init_by_resolv_conf() or
1595 init_by_environment() fail, then falling back to default values
1603 - test: Force reinstall of libtool on OSX
1605 Travis build environment appears to have changed.
1607 - test: Add valgrind build variant
1609 - test: Add null pointer to gtest args
1613 command-line arguments get memory errors under valgrind/ASAN.
1616 - AUTHOR: maybe gitgub isn't really an author =)
1618 - AUTHORS: added contributors from the git log
1620 - LICENSE.md: add a stand-alone license file
1622 Just the MIT license used in the top the source files moved out to a
1623 stand-alone file for easier reference and discovery.
1625 - README: added "CII best practices" badge
1627 - SECURITY.md: suggested "security process" for the project
1630 - test: Add Clang static analysis build to Travis
1632 Run scan-build over the library source code, but skip the
1635 - test: more info on how to run fuzz testing
1637 - test: make fuzzer driver code C not C++
1639 - test: fuzzer mode for AFL's persistent mode
1641 When fuzzing with AFL, if the LLVM-based instrumentation is
1642 used (via the afl-clang-fast wrapper), then it is possible to
1644 times over the fuzzing entrypoint (similar to libFuzzer's normal
1648 Add code to support this, by checking whether __AFL_LOOP is
1649 defined at compile-time.
1651 Also, shift the code to effectively be C rather than C++.
1653 - test: simplify deps for fuzzer entrypoint
1655 No need to depend on the rest of the test code (ares-test.h) for
1657 to build with LLVM's libFuzzer.
1659 Also shift the code to effectively be C rather than C++
1661 - test: disable MinGW tests
1665 it's down to some sort of AppVeyor environment issue.
1670 - read_tcp_data: remove superfluous NULL check
1675 - web: http => https
1678 - [David Drysdale brought this change]
1684 - [Chris Araman brought this change]
1691 - Fix trailing comment for #endif
1694 - email: use Gisle's "new" address
1697 - test: drop superfluous fuzz inputs
1704 - Update msvc_ver.inc
1709 - test: Run fuzzcheck.sh in Travis build
1711 - test: add fuzzing check script to tests
1718 - test: allow multiple files in aresfuzz command line
1722 its contents to the fuzz entrypoint.
1724 - test: Add corpus of DNS packets
1726 For fuzz testing it is useful to start from a corpus of valid
1730 These packets were generated by temporarily modifying the c-ares
1731 process_answer() function to save off any incoming response messages.
1733 - test: Add utility to show DNS packet from file
1735 - [nordsturm brought this change]
1740 http://c-ares.haxx.se/mail/c-ares-archive-2014-07/0004.shtml
1741 http://c-ares.haxx.se/mail/c-ares-archive-2014-07/0014.shtml
1743 - test: Check setting nsort=0 option is respected
1745 - test: Update fuzzing function prototype
1747 libFuzzer changed expected return type from void to int
1750 - Explicitly clear struct servent before use
1753 using an MSAN-instrumented version of the standard C++ library, see
1758 - test: for AF_UNSPEC, return CNAME only for AAAA, but valid A record
1762 - [Chris Araman brought this change]
1766 - build: commonize MSVC version detection
1768 Remove the need to copy/paste version number mapping between
1771 - test: Use different name in live test
1773 - test: Only pass unused args to GoogleTest
1775 - ahost.c: add cast to fix C++ compile
1777 If ahost.c is force-compiled as C++ the missing cast from
1778 (void *) to (char **) is problematic.
1780 - ares_library_cleanup: reset ares_realloc too
1786 - [Brad House brought this change]
1791 it forces you to pass --disable-tests, rather than auto-detect if your
1793 do not have C++11. This also causes issues when chain-building c-ares,
1794 the hosting system needs to be updated to support passing this
1795 additional flag if necessary, it doesn't seem reasonable to add this
1798 This change auto-detects if the system can build the tests and
1799 automatically disable them if it cannot. If you pass --enable-tests to
1800 configure and the system cannot build them either due to lack of system
1801 support, or because cross-compilation is being used, it will throw an
1806 - [Viktor Szakats brought this change]
1810 - [Viktor Szakats brought this change]
1817 - test: Build with MinGW on AppVeyor
1819 - test: avoid in6addr_* constants
1823 - test: add missing #includes for dns-proto.cc
1825 - [Gregor Jasny brought this change]
1830 - configure: acknowledge --disable-tests
1834 - AUTHORS: added contributors from the 1.11.0 release
1836 - bump: start working on the next version
1841 - RELEASE-NOTES: final edits for 1.11.0
1844 - ares_dup.3: remove mention of nonexistent function
1848 - test: skip repeated build steps
1850 Top-level buildconf/configure now triggers for the
1851 test/ subdir too, so don't need to do explicitly.
1853 - test: namespaces unavailable when cross-compiling
1856 - configure: only run configure in test when NOT cross-compiling
1858 ... as the tests won't run cross-compiled anyway
1861 - test: prefer ON_CALL to EXPECT_CALL to reduce flakes
1864 expects a single request to arrive at the server; ON_CALL allows
1869 for the same repeated request still have to use EXPECT_CALL.
1872 - configure: run configure in 'test' too
1874 Having the test dir completely stand-alone causes too many issues for
1875 users and devs. It still needs to be built specifically.
1877 - configure: build silently by default
1879 - buildconf: run test/buildconf too if present
1881 - test/configure: build silently by default
1883 - [Gregor Jasny brought this change]
1892 - Makefile.am: distribute the test dir too
1894 - RELEASE-NOTES: synced with 385582bd14b68a
1896 - [Nicolas \"Pixel\" Noble brought this change]
1903 - Use "resolve" as synonym of "dns" in nsswitch.conf
1911 - ares_set_socket_callback: make manpage match code
1916 - Merge pull request #36 from AGWA-forks/master
1920 - test: Update init tests to match behaviour
1922 Unreadable config files are now treated the same way
1923 as absent config files.
1925 - [Fedor Indutny brought this change]
1927 Ignore `fopen` errors to use default values
1934 `init_by_resolv_conf` will attempt to read it from other files available
1936 permissions (like `600`), which will lead to `EACCESS` errno, which in
1944 I suggest handling any `fopen` errors as non-fatal ones, allowing to
1945 pick up the `lookups` value from different config files, or to pick up
1949 - Document callback type in man page for ares_set_socket_callback
1951 - Add ares_set_socket_configure_callback()
1955 time to customize various socket options.
1958 - test: ares_set_socket_callback failure behaviour
1960 - test: Check ares_parse_txt_reply_ext() entrypoint
1962 - [Fedor Indutny brought this change]
1967 field, which indicates a start of a new TXT record, thus allowing to
1974 - doc: Update missed repo references
1976 - doc: Update docs on contributing
1978 - test: Run command line tools in Travis
1984 - acountry: drop inert test
1991 - doc: update badge locations to master repo
1993 - test: Enable maintainer mode + debug in Travis
1995 - test: Add an iOS build target
1997 - test: Ignore SIGPIPE in tests
1999 - test: More initialization tests
2001 - test: Improve containerized test mechanism
2003 Aim is to ensure that code coverage information can escape the
2004 container. To do this:
2005 - Enter a new mount namespace too, so that we can...
2006 - Bind mount the expected source directory into the container
2007 - Share memory with the sub-process so coverage information is
2010 - test: Make contained tests easier to write
2012 - test: Add framework for containerized testing
2014 On Linux we can potentially use user and UTS namespaces to run a test
2015 in a pseudo-container with:
2016 - arbitrary filesystem (e.g. /etc/resolv.conf, /etc/nsswitch.conf, /etc/hosts)
2017 - arbitrary hostname/domainname.
2019 Include a first pass at the framework code to allow this, along with a
2022 - test: Use a longer timeout for less flakiness
2026 from 100ms to 1500ms.
2028 - test: Make failure tests more robust
2037 - test: Get test code building under Windows
2039 - Initial nmake file based off library nmake file
2040 - Cast socket call arguments to (char *)
2041 - Use wrapper sclose() that maps to closesocket() or close()
2042 - Build a config.h indicating presence of headers
2043 - Conditionally include netdb.h
2044 - Remove unnecessary include of sys/socket.h
2045 - Force longer bitmask for allocation failure tracking
2046 - Call WSAStartup() / WSACleanup() in main()
2047 - Set TCP_NODELAY for mock server
2048 - Turn on tests in AppVeyor build
2050 - test: Disable tests that manipulate env on Windows
2052 - test: Move file lists into Makefile.inc
2056 - test: Add a simple multi-server test
2060 - test: Allow for multiple mock servers
2062 - Update the MockServer to allow separate specification of
2063 UDP and TCP ports
2064 - Have an array of mock servers listening on consecutive
2066 - Rename Process(fd) to ProcessFD(fd) to avoid confusion.
2067 - Initialize channel by using the new ares_set_servers_ports()
2071 - test: Update test for set/get_servers variants
2073 Ports are significant in the _ports_ variant functions, so update test to cope.
2075 - test: Make GetNameServers() utility function port-aware
2079 - test: more testing, including of internal static functions
2081 - test: more tests, especially fallback processing
2083 - Make mock server listen on UDP + TCP in parallel.
2084 - Test UDP->TCP fallback on truncation
2085 - Test EDNS->no-EDNS fallback
2086 - Test some environment init options
2087 - Test nonsense reply
2091 - test: more tests, particularly of initialization
2093 - test: Run mock tests over both TCP and UDP
2098 - test: Run mock tests over both IPv4 and IPv6
2100 - test: Add more tests for edge cases
2102 - test: more nooks and crannies of pton functions
2104 - test: More tests for PTR parsing
2106 - test: Use of HOSTALIAS environment variable
2108 - test: Add RAII utility classes for testing
2110 - TempFile holds specific contents
2111 - EnvValue sets an environment variable
2113 - test: More search domain scenarios
2115 - test: Remove duplicate flags from Makefile.am
2117 - test: Make test code leak-free
2119 - test: More tests
2121 - test use of sortlist
2122 - test gethostbyname(AF_UNSPEC)
2124 - test: Test ares_gethostbyname_file()
2126 - test: Add more tests of ares_getnameinfo()
2128 - test: Tweak tests, add alloc failure test
2130 - test: Test init with options
2132 - test: More tests
2134 - ares_inet_net_pton() variants
2135 - ares_getsock() variants
2137 - test: Expose ProcessWork() function
2139 - test: More parsing tests
2142 - Split each parse function test set out into separate files.
2143 - Add an allocation failure test for each parsing function.
2144 - Add error check test for each parsing function.
2146 - test: Add various additional tests
2148 - test: More tests
2151 CARES_SYMBOL_HIDING macro; need to configure the library with
2152 --disable-symbol-hiding to enable these tests.
2154 - test: Allow command line override of mock server port
2156 - test: Add README.md documentation
2158 - test: Temporarily avoid latest Python requests package
2161 version appears to fix the problem.
2166 - test: Add AppVeyor config file for Windows build
2168 - test: Add configuration for a Travis build
2171 a later G++ to satisfy the tests' need for C++11.
2173 Use a build matrix to include a variety of build variants:
2174 - ASAN
2175 - UBSAN
2176 - LSAN
2177 - Coverage via coveralls.io
2181 Also shift to use explicit build matrix
2187 Also expand and re-order the setting of environment variables
2190 test: Add LSAN build to Travis config
2192 - test: Add initial unit tests for c-ares library
2196 users of the library need not have a C++ compiler just to get c-ares
2198 a shared top-level m4/ directory). However, this autoconf setup has
2201 Run with "./arestest", or "./arestest -v" to see extra debug info.
2203 available (e.g. "./arestest --gtest_filter=*Live*").
2209 - There are live tests (ares-test-live.cc), which assume that the
2210 current machine has a valid DNS setup and connection to the
2215 - There a few mock tests (ares-test-mock.cc) that set up a fake DNS
2216 server and inject its port into the c-ares library configuration.
2217 These tests allow specific response messages to be crafted and
2218 injected, and so are likely to be used for many more tests in
2221 - To make this generation/injection easier, the dns-proto.h file
2224 - Other library entrypoints that don't require network activity
2227 - There are few tests of library-internal functions that are not
2228 normally visible to API users (in ares-test-internal.cc).
2230 - A couple of the tests use a helper method of the test fixture to
2231 inject memory allocation failures, using the earlier change to the
2232 library to allow override of malloc/realloc/free.
2234 - There is also an entrypoint to allow Clang's libfuzzer to drive
2236 standalone wrapper for it (./aresfuzz) to allow use of afl-fuzz
2239 - test: Add local copy of GoogleMock/GoogleTest 1.7.0
2242 with the top-level configure process.
2244 - doc: Show build badges in README.md
2246 Note that these URLs will need to be updated if/when the test branch
2249 - doc: Convert README to README.md
2253 - doc: Update in preparation for next release
2256 Also add myself to AUTHORS.
2258 - build: Allow header compilation by Windows C++ compiler
2260 - build: Expose whether symbol hiding is on
2262 Adding the CARES_SYMBOL_HIDING definition allows the test suite to
2265 - build: Add autoconf macros for C++11 code using pthreads
2267 Pull in testing macros from the GNU autoconf archive to allow
2268 configure scripts to test for and setup use of a C++11 compiler
2274 - build: Add a code coverage option
2277 ./configure --enable-code-coverage
2279 make code-coverage-capture
2282 to provide the macros to check for presence of gcov + lcov;
2283 upstream macro modified to:
2284 - Remove use of $(AM_DEFAULT_VERBOSITY) , as earlier versions of
2286 - Rather than automatically defining CODE_COVERAGE_RULES to be a set
2287 of makefile rules that use ifeq/endif (which is GNU make-specific),
2291 - api: Add entrypoints to allow use of per-server ports
2293 Add user-visible entrypoints ares_{get,set}_servers_ports(3), which
2295 This structure includes a UDP and TCP port number; if this is set
2296 to zero, the channel-wide port values are used as before.
2299 is analogous to ares_set_servers(3) except it doesn't ignore any
2300 specified port information; instead, any per-server specified port
2301 is used as both the UDP and TCP port for that server.
2303 The internal struct ares_addr is extended to hold the UDP/TCP ports,
2305 indicates that the channel-wide UDP/TCP port should be used.
2307 For the internal implementation of ares_dup(3), shift to use the
2309 transferred correctly to the new channel.
2311 Update manpages, and add missing ares_set_servers_csv to the lists
2314 - api: Add ares_set_sortlist(3) entrypoint
2320 This allows library users to perform the same configuration
2322 to change that file.
2324 - api: Allow injection of user-specified malloc/free functions
2327 library which allows the library user to specify their own malloc,
2328 realloc & free equivalents for use library-wide.
2330 Store these function pointers in library-wide global variables,
2331 defaulting to libc's malloc(), realloc() and free().
2333 Change all calls to malloc, realloc and free to use the function pointer
2336 library code to always use it.
2338 Convert calls to calloc() to use ares_malloc() + memset
2340 - api: Add option to expose some internal functions
2342 Purely for testing, add --enable-expose-statics option to configure
2343 which converts some static internal functions to be externally visible.
2345 - api: Expose the ares_library_initialized() function
2347 - ahost: Allow repeated -s <domain> options
2349 This also removes a potential leak where later -s options would
2352 - Mark unhittable lines
2355 lines that cannot be hit. Typically these are fall-back
2360 - ares_set_servers_csv.3: make return type match code
2362 - bitncmp: update comment to match code behaviour
2364 - ares_striendstr: fix so non-NULL return can happen
2366 This looks to have been broken since it was first introduced in 2005 in
2370 - config_sortlist: free any existing sortlist on (re)alloc failure
2374 Ensure that *sortlist is set to NULL whenever ENOMEM is returned.
2376 - ares_dup: clear new channel on failure
2378 If the attempt to transfer IPv6 servers from the old to the new channel
2379 fails, the previous code would still return a channel to the user even though
2383 - ares_init_options: don't lose init failure
2385 If (say) init_by_options() fails, the subsequent call to
2390 - ares_gethostbyname: don't leak valid-but-empty hostent
2392 If an AF_UNSPEC query gets a valid response to its AAAA query,
2393 but which has no IPv6 addresses in it, then the code chains on to
2396 the follow-on end_hquery() invocation).
2398 - ares_parse_txt_reply: propagate errors from per-substring loop
2402 the inner loop to the outer loop.
2404 - process_answer: fix things up correctly when removing EDNS option
2406 When a server rejects an EDNS-equipped request, we retry without
2407 the EDNS option. However, in TCP mode, the 2-byte length prefix was
2408 being calculated wrong -- it was built from the answer length rather than
2411 Also, it is theoretically possible that the call to realloc() might change
2412 the data pointed to; to allow for this, qbuf also needs updating.
2417 http://c-ares.haxx.se/mail/c-ares-archive-2012-10/0004.shtml)
2419 - ares__read_line: clear buf pointer on realloc failure
2421 - ares_expand_name: check for valid bits in label length
2424 label length (00) or an index to a name elsewhere in the message
2429 - [Gregor Jasny brought this change]
2435 - [Gregor Jasny brought this change]
2439 - README.cares: s/I/Daniel
2441 ... and add a pointer to an existing version of the original area 1.1.1
2444 - read_tcp_data: don't try to use NULL pointer after malloc failure
2450 - configure_socket: explicitly ignore return code
2453 is ignored, and this added typecast to (void) makes it explicit.
2455 - ahost: check the select() return code
2460 - Fix buildconf on platforms using glibtoolize
2462 Commit c49a87eea538 changed buildconf to only check for
2465 - Don't exit loop early leaving uninitialized entries
2470 statement; I incorrectly added it to prevent continuing the loop.
2472 uninitialized, causing problems for later cleanup.
2474 So fix to match Gregor's original patch, with apologies.
2477 - buildconf: remove check for libtool, it only requires libtoolize
2480 - [Gregor Jasny brought this change]
2482 Use libresolv to initialize cares on iPhone targets
2485 /etc/resolv.conf cannot be used to configure cares.
2490 CC: Yury Kirpichev <ykirpichev@yandex-team.ru>
2493 - README: updated to new repo URL
2496 - [Lei Shi brought this change]
2500 This patch is fixing the dns lookup issue due to dummy dns information
2502 the dns lookup policy to try GetNetworkParams first because the
2507 - Merge pull request #30 from p-push/vs-2015
2512 - [Gisle Vanem brought this change]
2517 - [Andrew Andkjar brought this change]
2519 added another version case to Makefile.msvc
2521 nmake version 11.00.61030.0 resolves to CC_VERS_NUM = 110
2523 - Merge pull request #26 from bitbouncer/vs-2013
2528 - added define for visual studio 2013
2531 - ares__read_line: free buf on realloc failure
2533 - Destroy options if ares_save_options fails
2540 - [David Drysdale brought this change]
2544 When attempting to build a search domain from the local hostname
2545 (used as a fallback when no other methods have given a search
2552 - ares_getnameinfo.3: there is no ares_getaddrinfo
2555 - [Gregor Jasny brought this change]
2561 Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
2563 - [Gregor Jasny brought this change]
2565 Re-start loop if select fails
2569 Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
2571 - [Gregor Jasny brought this change]
2577 Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
2579 - [Gregor Jasny brought this change]
2586 points one entry behind the array for the tcp block.
2587 So the fix is to check after every increment of sockindex if it is still
2592 Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
2594 - [Gregor Jasny brought this change]
2600 Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
2603 - [Gisle Vanem brought this change]
2608 - CONTRIBUTING: add file to indicate mailing list is preferred
2610 - Add -t u option to ahost
2612 Add an option to allow specification of the AF_UNSPEC
2616 - host_callback: Fall back to AF_INET on searching with AF_UNSPEC
2625 - [David Drysdale brought this change]
2627 Move memset call below platform-specific declarations
2629 A GitHub commenter [1] says that my recent change to ahost.c has
2632 [1] https://github.com/bagder/c-ares/commit/ee22246507c9#commitcomment-6587616
2634 - [David Drysdale brought this change]
2636 Update ahost man page to describe -s option.
2638 Commit ee22246507c9 added the -s <domain> option to the
2639 ahost command, but neglected to update the man page to
2642 Also fix typo in description of -t option.
2644 - ares_parse_soa_reply: Do not leak rr_name on allocation failure
2649 - [David Drysdale brought this change]
2656 - [David Drysdale brought this change]
2660 Add the "-s domain" command line option to override the search
2664 - Revert "ares_parse_aaaa_reply: fix leak when reply contains 1 alias and no address"
2668 - [Frederic Germain brought this change]
2672 - [Doug Kwan brought this change]
2674 ares_build.h: fix building on 64-bit powerpc
2682 targeting ppc64. This makes CARES_SIZEOF_LONG to be 4 on a ppc64 system
2686 64-bit case first.
2688 - refresh: updated now with automake 1.14
2690 - [David Drysdale brought this change]
2695 as input -- the single_domain() utility function in ares_search.c
2699 - Fixed warning 'type specifier missing'.
2702 - [Tor Arntsen brought this change]
2708 - nowarn: use <limits.h> instead of configure for size of long
2710 This makes the header file much more multi-arch friendly and can be used
2711 as-is with both 32 bit and 64 bit builds.
2713 - timeoffset: made static and private
2717 - timeadd: make static
2722 - xc-am-iface.m4: comments refinement
2724 - configure: fix 'subdir-objects' distclean related issue
2728 - configure: automake 1.14 compatibility tweak (use XC_AUTOMAKE)
2730 - xc-am-iface.m4: provide XC_AUTOMAKE macro
2733 - gitignore: ignore all ares_*pdf but also CHANGES.dist
2735 - bump: start working towards 1.10.1
2740 - RELEASE-NOTES: two more bug fixes
2742 - [Keith Shaw brought this change]
2746 Fixed bug that caused the last part of an IPv6 address to be parsed as
2749 - nroff: fix two syntax mistakes
2754 Reported-by: Alexander Klauer
2755 Bug: http://c-ares.haxx.se/mail/c-ares-archive-2013-03/0010.shtml
2757 - [Alex Loukissas brought this change]
2761 - Makefile.am: increment -version-info for 1.10.0 release
2763 - README: remove unnecessary comment
2765 - ares_version.h: copyright end range year is now 2013
2767 - RELEASE-NOTES: synced with fb0737f3a0a1c37
2769 - [Paul Saab brought this change]
2773 This change is similar to ares_parse_a_reply.c in commit
2776 - [Patrick Valsecchi brought this change]
2778 ares_parse_txt_reply: return a ares_txt_reply node for each sub-string
2783 - [Alexander Klauer brought this change]
2788 ares_library_cleanup() with regard to the newly introduced reference
2791 - [Alexander Klauer brought this change]
2795 Previously, a single call to ares_library_cleanup() would deinitialise
2796 the c-ares library, regardless of how many times ares_library_init() was
2798 more libraries which, in turn, use c-ares. The present commit fixes this
2799 problem, deinitializing the library only after a number of calls to
2800 ares_library_cleanup() matching the number of calls to
2803 - [Patrick Valsecchi brought this change]
2809 Bug: http://c-ares.haxx.se/mail/c-ares-archive-2013-04/0016.shtml
2812 - Create ares_build.h when buidling from Git.
2814 - Added -DCARES_STATICLIB to CFLAGS.
2820 - [Alexander Klauer brought this change]
2824 This commit adds a line to .gitignore to the effect that patch files
2825 generated by 'git format-patch' are excluded from the repository.
2827 - [Alexander Klauer brought this change]
2831 Clarify that no new requests may be added to a resolver channel that is
2834 - [Alexander Klauer brought this change]
2838 This commit clarifies the behaviour of ares_cancel() with respect to
2839 callbacks and adds missing documentation of ARES_ECANCELLED to the man
2842 - [Alexander Klauer brought this change]
2848 a callback added a new request to the channel, the request list might
2849 not end up empty, causing an abort by assertion failure. The present
2855 - ares.h: stricter CARES_EXTERN linkage decorations logic
2859 - ares_build.h.dist: enhance non-configure GCC ABI detection logic
2863 - check __ILP32__ before 32 and 64bit processor architectures in
2864 order to detect ILP32 programming model on 64 bit processors
2868 - keep 32bit processor architecture checks in order to support gcc
2871 - check __LP64__ for gcc 3.3 and newer, while keeping 64bit processor
2875 - ares.h: there is no ares_free_soa function
2878 - Makefile.am: empty AM_LDFLAGS definition for automake 1.7 compatibility
2880 - ares_inet_ntop.3: s/socklen_t/ares_socklen_t
2882 - configure: use XC_LIBTOOL for portability across libtool versions
2884 - xc-lt-iface.m4: provide XC_LIBTOOL macro
2886 - Makefile.am: use AM_CPPFLAGS instead of INCLUDES
2888 - inet_ntop.c: s/socklen_t/ares_socklen_t
2890 - inet_ntop.c: s/socklen_t/ares_socklen_t for portability
2893 - ares.h: s/socklen_t/ares_socklen_t for portability
2895 - ares_inet_ntop.3: 4th argument is socklen_t!
2897 - spell inet correctly!
2899 - ares_inet_pton/ntop: cleanup
2901 Make sure that the symbols are always exported and present in c-ares.
2907 - ares_inet_ntop/ares_inet_pton: added man pages
2910 - [Gisle Vanem brought this change]
2912 curl_setup_once.h: definition of HAVE_CLOSE_S defines sclose() to close_s()
2914 - [Gisle Vanem brought this change]
2916 config-dos.h: define HAVE_CLOSE_S for MSDOS/Watt-32
2918 - [Gisle Vanem brought this change]
2920 config-dos.h: define strerror() to strerror_s_() for High-C
2923 - ares_get_datatype: removed unused function
2927 - ares__bitncmp: use two underscores for private functions
2931 - ares__generate_new_id: moved to ares_query.c
2935 - ares__swap_lists: make private and static
2940 - Makefile.msvc: add four VS version strings
2943 - ares_expand_name.3: clarify how to free the data
2946 - zz40-xc-ovr.m4: fix 'wc' detection - follow-up 2
2948 - Fix a pair of single quotes to double quotes.
2950 URL: http://curl.haxx.se/mail/lib-2013-01/0355.html
2953 - zz40-xc-ovr.m4: fix 'wc' detection - follow-up
2955 - Take into account that 'wc' may return leading spaces and/or tabs.
2957 - Set initial IFS to space, tab and newline.
2959 - zz40-xc-ovr.m4: fix 'wc' detection
2961 - Take into account that 'wc' may return leading spaces.
2963 - Set internationalization behavior variables.
2967 URL: http://curl.haxx.se/mail/lib-2013-01/0351.html
2969 - zz40-xc-ovr.m4: check another three basic utilities
2971 - zz40-xc-ovr.m4: 1.0 interface stabilization
2973 - Stabilization results in 4 public interface m4 macros:
2978 - Avoid one level of internal indirection
2979 - Update comments
2980 - Drop XC_OVR_ZZ40 macro
2982 - zz40-xc-ovr.m4: emit witness message in configure BODY
2984 This avoids witness message in output when running configure --help,
2985 while sending the message to config.log for other configure runs.
2987 - zz40-xc-ovr.m4: truly do version conditional overriding
2989 - version conditional overriding
2990 - catch unexpanded XC macros
2991 - fix double words in comments
2993 - zz40-xc-ovr.m4: fix variable assignment of subshell output bashism
2997 URL: http://curl.haxx.se/mail/lib-2013-01/0306.html
2999 - zz40-xc-ovr.m4: reinstate strict AC_REQUIRE macro dependencies
3001 - zz40-xc-ovr.m4: avoid double single-quote usage
3003 - zz40-xc-ovr.m4: parentheses balancing of 'case' statements
3009 - zz40-xc-ovr.m4: internals overhauling
3011 - Update comments
3012 - Execute commands in subshells
3013 - Faster path separator check
3014 - Fix missing 'test' command
3015 - Rename private macros
3016 - Minimize AC_REQUIRE usage
3018 - zz40-xc-ovr.m4: redirect errors and warnings to stderr
3020 - configure: use XC_CONFIGURE_PREAMBLE early checks
3028 - zz40-xc-ovr.m4: provide XC_CONFIGURE_PREAMBLE macro
3030 - configure: autotools compatibility fixes - step I
3035 - configure: fix automake 1.13 compatibility
3047 - ares_private.h: use again memdebug.h instead of curl_memdebug.h
3049 - configure.ac: replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS
3053 - cares-override.m4: provide AC_CONFIG_MACRO_DIR definition conditionally
3057 doing up to now of providing and overriding AC_CONFIG_MACRO_DIR for
3060 - ares_private.h: use curl_memdebug.h instead of memdebug.h
3062 - vc6cares.dsp: add ares_create_query.c and ares_parse_soa_reply.c
3064 - cares-functions.m4: improve gethostname arg 2 data type check
3066 - setup_once.h: HP-UX specific 'bool', 'false' and 'true' definitions.
3070 - configure: check if compiler halts on function prototype mismatch
3072 - cares-functions.m4: add gethostname arg 2 data type check and definition
3074 - cares-functions.m4: update thread-safeness detection of getaddrinfo()
3077 consider getaddrinfo() to be thread-safe when (_POSIX_C_SOURCE >= 200809L) or
3083 - setup_once.h: HP-UX <sys/socket.h> issue workaround
3085 Issue: When building a 32bit target with large file support HP-UX
3091 warnings when using the HP-UX compiler and errors when using modern
3097 - setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>
3101 - Header inclusion clean-up
3105 - setup_once.h: HP-UX specific TRUE and FALSE definitions
3107 Some HP-UX system headers require TRUE defined to 1 and FALSE to 0.
3109 - ares_timeout.c: fix compiler warning
3111 - ares_create_query.c: IRIX compilation fix
3113 - c-ares/nameser.h: add some T_* defines for ns_t_* values
3116 - Revert "ares_parse_aaaa_reply: fix memory leak"
3120 - ares_parse_aaaa_reply: fix memory leak
3124 - [Gisle Vanem brought this change]
3130 - get_DNS_AdaptersAddresses: fix IPv6 parsing
3135 Bug: http://c-ares.haxx.se/mail/c-ares-archive-2012-06/0028.shtml
3138 - version: bumped to 1.10.0
3140 Due to the newly added function: ares_create_query()
3142 - AUTHORS: synced with 83093ac450
3146 - ares_create_query.3: mention when this is added
3148 - [hpopescu@ixiacom.com brought this change]
3152 - code police: fix indents, < 80 columns, reflowed comments
3155 - Cleaned up version awk script.
3158 - [Gisle Vanem brought this change]
3163 'udp_socket' == ARES_SOCKET_BAD. The code takes care not to call
3164 recv/recvfrom with ARES_SOCKET_BAD in the outer-loop. So should the
3165 inner-loop.
3168 - cares-compilers.m4: remove -Wstrict-aliasing=3 from clang
3171 actually supports -Wstrict-aliasing. What is known is that there
3174 - cares-compilers.m4: -Wstrict-aliasing=3 for warning enabled gcc and clang builds
3177 - version: work towards 1.9.2 (at least)
3182 - RELEASE-NOTES: 1.9.1 coming up
3187 - ares_version.h: next version is 1.9.0
3189 - [Marko Kreen brought this change]
3193 - RELEASE-NOTES: synced with 979bf951d
3195 Next release deemed to become 1.9.0 due to the new function
3197 - [Marko Kreen brought this change]
3201 I need to do SOA queries, so here is a parser for them.
3203 - ares_soa_reply: new struct
3204 - ares_malloc_data/ares_free_soa: ARES_DATATYPE_SOA_REPLY
3205 - ares_parse_soa_reply: actual function
3208 - Kill compiler warning
3210 - Fix libcares.pc generation for static MingW* cross builds
3213 - [Nick Alcock brought this change]
3215 Fix UDP and TCP port byte order in saved options.
3217 The UDP and TCP port are stored in network byte order in the
3218 ares_channeldata, but are passed in to ares_init_options() in host byte
3220 order too, or a duplicated channel will convert them again, leading to a
3223 when c-ares is used by curl, and thus all the curl easy API's users.
3226 - version: start working on 1.8.1-DEV
3231 - RELEASE-NOTES: call next 1.8 instead
3236 - INSTALL: some adjustments
3239 - GIT-INFO: mention buildconf
3242 - INSTALL: remove more sections that don't apply to c-ares
3244 - ares_timeout.c: fix compiler warning
3247 - [Ben Noordhuis brought this change]
3251 * add . to include path so ares_build.h is picked up
3252 * make ar configurable to ease cross-compiling
3254 - RELEASE-NOTES: added what's happened since 1.7.5
3257 - Updated copyright year.
3260 - ares_init.c: Further refactoring of Windows system's DNS fetching code
3263 - Android: small changes to dns property part.
3267 - Handle CNAME-only in ares_parse_aaaa_reply().
3269 posted to the c-ares list by Peter Griess <pg@std.in>.
3271 - Add support for multiple DNS servers on Android.
3273 Before, c-ares always used the first DNS server on Android, causing
3276 Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
3278 - Added INSTALL so it gets into tarballs.
3280 - Added some more ifdefs to silent compiler warnings.
3283 - INSTALL: remove a non c-ares section
3285 - cares-compilers.m4: -Wno-pedantic-ms-format for Windows gcc 4.5 builds
3288 warnings enabled use -Wno-pedantic-ms-format in addition to other flags.
3290 - setup_once.h: tighten requirements for stdbool.h header inclusion
3295 - configure: NATIVE_WINDOWS no longer defined in config file
3297 - cares-compilers.m4: double underscore decoration for visibility attribute
3299 - build adjustments: CARES_SYMBOL_HIDING no longer defined in config files
3305 - configure: Windows cross-compilation fixes
3312 - Added INSTALL file adapted from libcurl.
3317 - ares_init.c: get_iphlpapi_dns_info() refactoring
3320 - Kill some more compiler warnings.
3322 - Kill compiler warning about unused var.
3324 - Fixed my last commit: wrong preprocessor directive.
3326 - Check for __ANDROID__ in addition to ANDROID macro.
3328 - Check for __ANDROID__ in addition to ANDROID macro.
3330 Posted to c-ares list by Wayne.
3332 - Fix for Android to disable useless arpa/nameser.h.
3334 - Fix for Android to include sys/select.h for fd_set.
3337 - ares_data.c: some NAPTR related fixes
3340 - port numbers: convert them to network order!
3342 When the config options ARES_OPT_UDP_PORT or ARES_OPT_TCP_PORT are used,
3343 make sure to convert them to network byte order!
3345 Bug: http://c-ares.haxx.se/mail/c-ares-archive-2012-02/0004.shtml
3347 - white space cleanup
3349 - Keep code within 80 columns
3351 - Removed funny spaces after open paren and before closing paren
3353 - [Poul Thomas Lomholt brought this change]
3357 I experienced a buffer overrun exception in c-ares on Windows and
3358 tracked it down to be an error in the calculation of the 'left' variable
3361 I changed the variable type of 'left' to a _signed_ type because of the
3364 - Merge pull request #7 from saghul/naptr
3369 - Added support for parsing NAPTR records
3372 - ares_init.c: fix compiler warning on winsock builds
3374 - configure: libtool 1.5 tweaks
3377 - ares_timeout.3: fix the NAME section
3382 - [Albert Chin brought this change]
3384 configure - m4: make CURL_CHECK_DEF ignore leading whitespace on symbol def
3387 in front of replaced symbol, breaking CURL_CHECK_DEF macro. To workaround
3391 - ares_init.c: fix segfault triggered in ares_init_options() upon previous
3394 - ares_process.c: fix compiler warning
3396 - fix MSVC compiler warning 'conditional expression is constant'
3398 - setup_once.h cleanup and sync
3400 - [Denis Bilenko brought this change]
3402 ares_getnameinfo: fix random results with c-ares 1.7.5
3404 In ares_getnameinfo memcpy did not copy enough bytes, causing
3405 it to return arbitrary memory contents as a result.
3407 - warnings: fix another 'conversion may lose significant bits' compiler warning
3409 - ares_dns.h: adjust DNS__16BIT and DNS__32BIT macro definitions
3413 - ares_destroy.c: fix segfault in ares_destroy_options()
3416 - ares_parse_srv_reply: silence compiler warnings
3420 - CHANGES: generate from script
3423 invoked by the maketgz script which is used to build release archives.
3425 The former human edited CHANGES file was renamed to CHANGES.0 in git.
3428 - Makefile.netware: SIZEOF_SHORT definition
3430 - warnings: fix some 'conversion may lose significant bits' compiler warnings
3432 - configure: fix symbol hiding usability check
3434 A more thorough test is done now in order to determine visibility attribute
3439 - 1.7.6: start working...
3444 - CHANGES: synced for 1.7.5 release
3446 - RELEASE-NOTES: synced with bb4096effef7f000
3449 - Only fall back to AF_INET searches when looking for AF_UNSPEC addresses
3452 - [Gisle Vanem brought this change]
3458 'SOCKET_ADDRESS' (that MSVC has). But we can use the header-guard for
3461 - [Gisle Vanem brought this change]
3464 * The 'NTDDI_VERSION' needs to be raised to 0x05010000
3465 in order for SOCKADDR_STORAGE etc. to be typedefed.
3466 * Replaced '-dUSE_WATT32' with '-dWATT32'.
3467 * Added $(DEMOS) to the 'all' target and removed the 'demos'
3468 target to be consistent with e.g. Makefile.msvc etc.
3470 * object-file order seems to be important (Watcom v.19). Hence
3473 - cares-compilers.m4: CARES_CONVERT_INCLUDE_TO_ISYSTEM adjustments
3481 - config-win32.h: comments adjustments - followup
3483 - config-win32.h: comments adjustments
3486 - [Tom Hughes brought this change]
3491 - cares-functions.m4 serial # bump
3493 - Revert "configure: additional flag checks for fcntl() and socket()"
3497 - configure: additional flag checks for fcntl() and socket()
3499 - xc-translit.m4 fix quoting
3501 - configure: avoid direct usage of AS_TR_* macros
3503 - xc-translit.m4 provides transliteration macros with well defined behavior.
3506 - Revert "Only fall back to AF_INET searches when looking for AF_UNSPEC addresses"
3512 - Revert "Do not use sized constants in public headers"
3518 - Use correct sizeof in ares_getnameinfo()
3520 - Do not leak rr_name on failures inside ares_parse_ptr_reply
3522 - Do not leak rr_name on failures inside ares_parse_a_reply
3524 - Do not leak rr_name on failures inside ares_parse_aaaa_reply
3526 - Do not leak rr_name on failures inside ares_parse_ns_reply
3528 - Fix incorrect sizeof() in ares_save_options
3530 - Fix incorrect allocation in ares_parse_ptr_reply()
3532 - Only fall back to AF_INET searches when looking for AF_UNSPEC addresses
3534 - Do not use sized constants in public headers
3537 - [Jakub Hrozek brought this change]
3542 - configure: fix recvfrom 5th arg type qualifier detection (followup)
3544 - configure: fix recvfrom 5th arg type qualifier detection
3549 - strlen: use size_t to receive the return
3552 - xlc: avoid preprocessor definition usage when linking
3554 - ares_nowarn: icc 9.1 workaround
3556 - ares_nowarn: header inclusion fix
3558 - ares_init: make ares_private.h last included header again
3560 - compiler warning: fix
3564 - compiler warning: fix
3570 - ares_iphlpapi: fix compiler warnings
3572 - winsock: compilation fixes
3574 Provide winsock iphlpapi alternative definitions to prevent compilation
3578 - [David Stuart brought this change]
3580 IPv6-on-windows: find DNS servers correctly
3582 - man pages: docs for the c-ares utility programs
3584 - ares_parse_ns_reply.c: remove CVSism
3587 - build: fix header inclusion
3589 - getservbyport replacement for Win CE
3591 - renamed getplatform() to ares__getplatform() to avoid namespace pollution
3593 - configure: fix libtool warning
3597 ACLOCAL_AMFLAGS in Makefile.am. So in order to make libtool happy
3600 - adig: RFC4034 resource record type detection
3602 Can be tested with: adig -s 8.8.8.8 -t ANY example.com
3604 - nameser.h: RFC4034 resource record type definitions
3606 - build: move platform stuff to ares_platform.c and ares_platform.h
3608 - build: find out windows platform using GetVersionEx()
3610 - build: use getenv() replacement function for systems which lack it
3612 - setup_once: system error codes for Windows CE
3614 - ares_search: use ERRNO macro for portability sake
3616 - System's errno.h inclusion cleanup follow-up.
3620 - Windows CE specific adjustment
3624 - System's errno.h inclusion cleanup.
3628 - ares_init: fix gethostname error detection on winsock platforms
3630 - configure: r-enable temporarily disabled detection of system's inet_ntop()
3635 - configure: stop using the deprecated AM_INIT_AUTOMAKE syntax
3637 - [Gisle Vanem brought this change]
3639 Watt-32: use errno
3641 Make sure Watt-32 programs use 'errno' even on Win32 targets
3644 - Removed commented CLFAGS no longer needed.
3646 - Fixed CFLAGS for NetWare.
3648 Added -m32 to enable compilation with x86_64 compilers;
3649 added conditional to set -fpcc-struct-return only for gcc compiler.
3652 - [Gisle Vanem brought this change]
3656 Somewhere in the process, programs using the Watt-32 tcp/ip stack
3659 - [Dima Tisnek brought this change]
3665 calls to "xxx_pton" or "ip_addr".
3668 - Makefile.msvc: add a couple of VS version strings
3670 - Makefile.msvc: add a couple of VS version strings
3672 - build: add install target to Makefile.msvc
3675 - ares_set_servers_csv: remove unused variables
3677 - init_by_resolv_conf: fix compiler warnings
3682 - getv4: Value stored to 'dst' is never read
3684 - advance_tcp_send_queue: avoid NULL ptr dereference
3690 - [Peter Pentchev brought this change]
3694 - cleanup: avoid unsafe typecasts
3699 - [Stefan Bühler brought this change]
3704 - build: add some explicit file references to VS project files
3706 - config-win32: provide HAVE_ASSERT_H definition
3708 - build: include ares_nowarn in sample program VS project files
3710 - build: include ares_nowarn among SAMPLESOURCES and SAMPLEHEADERS
3712 - configure: temporarily disable detection of system's inet_ntop()
3714 This is done to allow compilation of ares_inet_ntop() by some daily
3717 - changes: mention last fix
3719 - ares_inet_ntop: remove definition and usage of macro SPRINTF
3724 - ares_inet_ntop: reapply changes from previous c-ares version (III)
3726 - Replace 'u_char' with 'unsigned char'.
3727 - Replace 'u_int' with 'unsigned int'.
3728 - use macros ERRNO and SET_ERRNO() for errno handling.
3730 - ares_inet_ntop: reapply changes from previous c-ares version (II)
3732 - Remove rcsid.
3733 - Adjust header file inclusions.
3734 - ares_inet_ntop used only on systems without a proper inet_ntop function.
3736 - ares_inet_ntop: reapply changes from previous c-ares version (I)
3738 - Replace tabs with spaces.
3739 - Use ANSI C style for function declarations and definitions.
3740 - Use sizeof with parentheses.
3742 - ares_inet_ntop: fix off by one error triggering out of bounds write
3745 of the address required 15 characters, due to not taking in account null
3748 Full import of inet_ntop.c from bind-9.5.3rc1 to pull additional fixes.
3750 - ares_nowarn: add conditional inclusion of assert.h header
3752 - fix compiler warning: conversion may lose significant bits
3754 - ares_inet_net_pton: fix non-rejection of some malformed literals
3757 and invalid, netmasks are used. Fixes are from bind-9.5.3rc1,
3758 issue also described in the WLB-2008080064 advisory.
3760 - setup_once: provide ISASCII macro
3762 - configure: inet_net_pton function check adjustments
3765 capable and is not affected by the WLB-2008080064 advisory.
3769 - ares_init: fix detection of semicolon comments in resolv.conf
3775 - version: start working on 1.7.5
3780 - release-preps: CHANGES and RELEASE-NOTES synced
3782 - ares_set_local_*: added in 1.7.4, not before
3785 - build: provide SIZEOF_SIZE_T definition for non-configure builds
3787 - build: config.dos renamed to config-dos.h
3789 - build: provide SIZEOF_SIZE_T netware definition
3791 - ares_gethostbyaddr: fix compiler warning: conversion may lose significant bits
3793 - configure: undo using autobuilds to temporarily verify strict aliasing warnings.
3795 - fix compiler warning: rounding, sign extension, or loss of accuracy may result
3798 - [Ben Noordhuis brought this change]
3802 Reply to a CNAME query doesn't contain addresses, causing
3803 ares_parse_a_reply() to bail out with ARES_ENODATA
3808 - fix compiler warning: conversion may lose significant bits
3810 - atoi: remove atoi usage
3812 - ares_init: fix compiler warning: conversion may lose significant bits
3814 - configure: fix autoconf warning
3816 - inet_pton: fix compiler warning
3818 - configure: use autobuilds to temporarily verify strict aliasing warnings.
3820 Temporarily, When cross-compiling with gcc 3.0 or later, enable strict aliasing
3821 rules and warnings. Given that cross-compiled targets autobuilds do not run the
3822 test-suite, there is no risk of running code that violates strict aliasing rules
3824 - ares_getnameinfo: Partially revert commit 85520d66e0ac7ac73411bc25e98769a88b2f
3830 - ares_getnameinfo: Validate socket address family and length.
3835 - ares_getnameinfo: fix two compiler warnings
3837 - Added another VS10 version string
3839 - Fix GCC 4 compiler warning 'dereferencing type-punned pointer might break strict-aliasing rules'.
3841 - Revert commit 494274e653936335c255a47599970de3df21e7c4
3843 - configure: fix autoconf 2.68 warning: no AC_LANG_SOURCE call detected in body
3845 - Fix compiler warning: array subscript has type 'char'
3847 - Fix GCC 4 compiler warning 'dereferencing type-punned pointer might break strict-aliasing rules'.
3849 - Revert following commits:
3854 The purpose of the whole patch was to silence a compiler warning triggered
3856 'dereferencing type-punned pointer might break strict-aliasing rules'.
3858 A simpler patch will follow to equally silence the warning.
3860 - ares_options: reorder header inclusions to make inclusion of
3864 - [Patrik Thunstrom brought this change]
3873 - ares_save_options: assignments instead of memcpy
3875 - init_by_options: don't copy an empty sortlist
3877 If there aren't any sort items to copy, don't bother. Without this
3879 behaviors and is frowned upon by curl's memdebug-system.
3882 - Minor Watcom makefile tweaks.
3885 - [Mike Crowe brought this change]
3890 file. This will happen every time when reading to the end of the
3894 Signed-off-by: Mike Crowe <mac@mcrowe.com>
3897 - Add missing break that caused get_ares_servers to fail.
3899 Reported-by: Ning Dong <flintning@163.com>
3900 Signed-off-by: Ben Greear <greearb@candelatech.com>
3903 - configure: werror related adjustments
3906 - Added copyright string to ares_version.h and make use of it in other files.
3908 - Block created ares_build.h for NetWare to avoid usage from other platforms.
3910 - Fix to overwrite default libname.
3912 - Some more Watcom makefile massage ...
3914 - Some more Watcom makefile massage ...
3917 - sock-addr-storage: Detect and deal with lack of .ss_family member.
3923 Signed-off-by: Ben Greear <greearb@candelatech.com>
3924 Tested-by: Tor Arntsen <tor@spacetec.no>
3927 - Added Watcom makefile based on libcurl's Makefile.Watcom.
3930 - typo: Fix compile bug for platforms that don't have sockaddr_storage.
3934 Signed-off-by: Ben Greear <greearb@candelatech.com>
3936 - Fix aliasing warning in gcc 4.4.4 (at least).
3941 Signed-off-by: Ben Greear <greearb@candelatech.com>
3944 - ares_set_servers_csv: use ISDIGIT
3946 The IS*() set of macros are preferred to the regular is*() functions as
3950 - cast arg to isdigit to int
3954 Signed-off-by: Ben Greear <greearb@candelatech.com>
3956 - remove all uses of uint32_t
3960 Signed-off-by: Ben Greear <greearb@candelatech.com>
3962 - fix signed v/s unsigned casts warning in ares_gethostbyaddr.c
3964 Signed-off-by: Ben Greear <greearb@candelatech.com>
3966 - local-bind-fixup: Fix inet_pton warning.
3971 Signed-off-by: Ben Greear <greearb@candelatech.com>
3973 - build: Enable compiling with -Werror.
3978 To use:
3979 ./configure --enable-warnings --enable-werror
3981 Signed-off-by: Ben Greear <greearb@candelatech.com>
3983 - ipv6: Fix some build issues related to the local-bind feature.
3985 Signed-off-by: Ben Greear <greearb@candelatech.com>
3988 - Replaced uint32_t with unsigned int to fix broken builds on a couple of platforms.
3991 - [Ben Greear brought this change]
3993 local-bind: Support binding to local interface/IPs
3995 Add 3 new functions to set the local binding for the out-going
3996 socket connection, and add ares_set_servers_csv() to set a
3997 list of servers at once as a comma-separated string.
3999 Signed-off-by: Ben Greear <greearb@candelatech.com>
4001 - version: now start on 1.7.4
4003 - [Andrew C. Morrow brought this change]
4010 - changelogs: updated for 1.7.3
4012 - [BogDan Vatra brought this change]
4014 init: allow c-ares to work on Android OS
4016 - changelog: fill in the 1.7.2 changes
4018 - added another pdf to ignore
4021 - add ares_parse_mx_reply.c to VS dsp file
4024 - tarball: add $(CSOURCES) $(HHEADERS) to EXTRA_DIST
4026 It's not clear to me why we need this, but we apparently may
4029 - version: start working on 1.7.3
4034 - RELEASE-NOTES: 1.7.2 details added
4036 - [Jakub Hrozek brought this change]
4040 - style: make code less than 80 columns wide
4043 - [Tor Arntsen brought this change]
4045 improve alternative definition of bool to use enum instead of unsigned char
4047 - fix VS2010 compiler warnings
4050 - [Jérémy Lal brought this change]
4054 - repair the file mode
4056 - remove all $Id$ lines
4058 - remove all .cvsignore files
4060 - spell fix
4064 - [Peter Pentchev brought this change]
4068 - ignore the GPG signature files too
4070 - start the journey towards 1.7.2
4072 - no longer CVS tagging
4074 - ignore generated PDFs
4079 - 1.7.1
4081 - made README the primary readme file
4083 ... and did README.cares to contain a historic reason etc.
4085 - s/CVS/git
4087 - git now, not CVS
4089 - ignore lots of generated files
4091 - [Daniel Johnson brought this change]
4096 - replaced intel compiler option -no-ansi-alias with -fno-strict-aliasing
4098 - update outdated serial number
4100 - fix compiler warning
4102 - watt32 compilation fix
4104 - Added another VS10 version string
4106 - fix line break
4108 - removed usage of 's6_addr', fixing compilation issue triggered with no
4112 - Daniel Johnson provided fixes for building with the clang compiler
4115 - Added IPv6 name servers support
4118 - Ops!. Readded ares_nowarn.h.
4120 - Added ares_nowarn.c.
4123 - Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems
4125 - Added ares_nowarn.* to VC6 project file
4127 - Added SIZEOF_INT definition
4129 - fix compiler warning
4131 - fix compiler warning
4133 - fix compiler warning
4136 - ares_reinit()
4138 - To allow an app to force a re-read of /etc/resolv.conf etc, pretty much
4141 - - Tommie Gannert pointed out a silly bug in ares_process_fd() since it didn't
4143 merged the two functions into a single generic one with two front-ends.
4146 - VMS specific preprocessor symbol checking adjustments
4148 - Mention last changes
4150 - - Fix configure_socket() to use ares_socket_t instead of int data type.
4152 - - Where run-time error checks enabling compiler option /GZ was used it is now
4155 - Compiler option /GX is now replaced with equivalent /EHsc for all versions.
4157 - - Ingmar Runge noticed that Windows config-win32.h configuration file
4159 function close() being inappropriately used to close sockets.
4162 - start working on 1.7.1
4167 - Preserve empty line following last target
4169 - - Larry Lansing fixed ares_parse_srv_reply to properly parse replies
4170 which might contain non-SRV answers, skipping over potential non-SRV
4173 - When using icc, compile with -fpic and link with intel dynamic libraries.
4175 - Added 'currently' in italics to insist on transient situation.
4177 - Fix language
4179 - Daniel wants upcoming release to be 1.7.0
4181 - Mention last changes
4183 - - Removed from external interface preprocessor symbol definition for
4187 - Added README.msvc
4189 - Changed c-ares naming conventions when using MSVC as described in README.msvc
4191 - - Mention other recent changes
4193 - - Jakub Hrozek renamed addrttl and addr6ttl structs to ares_addrttl and
4194 ares_addr6ttl in order to prevent name space pollution, along with
4195 necessary changes to code base and man pages.This change does not break
4196 ABI, there is no need to recompile existing applications. But existing
4198 adjustments when recompiled using c-ares 1.6.1.
4200 - - Jakub Hrozek fixed more function prototypes in man pages to sync them
4203 - Make configure remove the ares_build.h file included in distribution tarballs.
4205 - Fix macro redefinition.
4207 - Fix name space pollution.
4209 - Allow using different extra import libraries for debug and release builds.
4211 - Add manifest stuff to msvc makefile
4213 - Sync man page with reality
4215 - Add missing external API decoration for ares_set_socket_callback()
4217 - Add ares_free_data() man page.
4219 - - Provide in external interface preprocessor symbol definitions for
4222 - Remove typecast
4224 - Fix comment
4226 - Add ares_data.c and ares_data.h
4228 - Jakub Hrozek modified ares_parse_srv_reply() and ares_parse_txt_reply() API
4229 to return a linked lists of results. These were also modified to internally
4233 - Initial support for the generic ares_free_data() function that will allow
4234 applications to free memory allocated and returned by some c-ares funtions.
4236 - Make usage of calloc()'s arguments consistent with rest of code base
4238 - workaround icc 9.1 optimizer issue
4240 - Add icc fvisibility bug test
4242 - Fix icc 9.0 compiler warning: external definition with no prior declaration
4244 - Fix three var names
4246 - Add check for assert.h header file
4248 - getaddrinfo is fully thread safe on solaris versions which
4254 - Remove files generated on previous buildconf/configure run
4256 - Remove enable-thread / disable-thread configure option. These were only placebo
4259 - Refactor how preprocessor symbol _THREAD_SAFE definition is done.
4261 - Assume that getaddrinfo is thread safe, unless hard coded
4264 - Related with the threadsafe capability of getaddrinfo:
4266 - Constantine Sapuntzakis reported that Darwin 6.0 a.k.a. MAC OS X 10.2
4269 - Fix Dragonfly BSD triplet detection.
4271 - In case the hard-coded knowledge says that getaddrinfo is threadsafe,
4272 an additional check is done to verify that h_errno is also defined.
4276 - AIX 5.2 and newer have threadsafe getaddrinfo.
4278 Add some comments to better understand what the regex's pretend to achieve.
4280 - HP-UX 11.11 and later have threadsafe getaddrinfo
4282 - Check if getaddrinfo is threadsafe when function check allows it to be used
4284 - Renamed fpGetNetworkParams and fpSystemFunction036 to avoid namespace pollution with static libra…
4286 - Add kernel32.lib
4288 - Mention last changes
4290 - Reinstate copyright symbol lost in previous commit
4292 - Make some strings different in resource file for debug or release builds
4294 - Ignore more subdirs
4296 - Fix compiler warning: conditional expression is constant
4298 - Sync linker and resource compiler options with Makefile.msvc
4300 - Follow Makefile.msvc subdirectory naming scheme, and sync compiler options
4302 - Updated MSVC makefile that allows building dynamic and static
4303 c-ares libraries in debug and release flavours.
4306 each of the four possible c-ares libraries, generating all this
4309 - Test for USE_WINSOCK since it is more restrictive than WIN32
4311 - Make header inclusion depend on HAVE_*_H definition
4313 - Remove unneeded preprocessor directives
4315 - Adjust c-ares include paths for memory tracking enabled (--enable-curldebug) builds
4317 - source files used by sample programs
4319 - Renamed c-ares setup.h to ares_setup.h
4321 - Adjust include paths to take in account that currently:
4323 c-ares with --enable-curldebug uses memdebug.h from libcurl's lib subdirectory.
4325 memdebug.h needs access to libcurl's setup.h from libcurl's lib subdirectory
4326 and also needs access to libcurl's generated curl_config.h
4328 - Undo old temporary change once used for testing purposes
4330 - Mention many changes
4332 - Mention --enable-symbol-hiding configure option
4334 - Symbol hiding configure options renamed to the hopefully less ambiguous
4335 --enable-symbol-hiding and --disable-symbol-hiding as well as related
4338 Related configuration file preprocessor symbols named to
4341 - Header inclusion depending on HAVE_* symbol.
4344 - Comparison of the Initial revision of this file with ares_parse_a_reply.c
4347 In order to comply with ares_parse_a_reply.c's M.I.T. license, the old
4351 - Add CVS Id tag.
4354 - Add CVS Id tag.
4356 - Fix comment
4358 - In no particular order, changed/fixed all of the following in
4361 - Fixed a couple of potential double free's.
4363 - Fixed memory leaks upon out of memory condition.
4365 - Fixed pointer arithmetic.
4367 - Setting ntxtreply to zero upon entry for all failure cases.
4369 - Changed data type to size_t for variables substr_len, str_len and
4372 - Avoided a couple of memcpy() calls.
4374 - Changed i data type to unsigned int to prevent compiler warnings.
4376 - Adjusted a comment.
4378 - Use ARES_SUCCESS literal for successfull completion.
4380 - Added CVS Id tag.
4382 - Add c-ares DLL resource file to distribution archive
4384 - ignore files
4386 - Empty subdir
4388 - Updated MSVC 6.0 workspace and project files that allows building
4389 dynamic and static c-ares libraries in debug and release flavours.
4392 each of the four possible c-ares libraries, generating all this
4396 - no need to check for NULL pointers before dereferencing, as the pointers
4400 - shorten the descriptions somewhat
4402 - update to the new struct name
4404 - Jakub Hrozek added ares_parse_txt_reply() for TXT parsing
4406 - use 'ares_srv_reply' for proper name-spacing
4409 - Add reference for ares_parse_srv_reply.pdf
4411 - Add reference for ares_parse_srv_reply docs
4413 - External API function linkage decoration adjustment
4415 - External API function linkage decoration adjustment
4417 - Initial step towards the ability to reduce c-ares exported symbols
4422 Introducing configure options --enable-hidden-symbols and
4423 --disable-hidden-symbols following libcurl's naming.
4425 - Fix comment
4427 - Fix spelling
4429 - Fix Pelles C Win32 target compilation issues
4431 - John Engelhart noticed an unreleased problem relative to a duplicate
4434 - Fix compiler warning: local variable may be used without having been initialized
4436 - Use *_CHECK_PATH_SEPARATOR_REQUIRED to ensure that *_CHECK_PATH_SEPARATOR
4439 - Our _AS_PATH_SEPARATOR_PREPARE override is now m4_defun'd instead of m4_define'd
4440 due to autoconf 2.64 m4_require'ing it in _AS_SHELL_SANITIZE indirectly through
4443 - Fix compiler warning: argument is incompatible with corresponding format string conversion
4445 - Fix potential out-of-bounds read
4447 - Fix compiler warning: loop without body
4449 - Fix compiler warning
4451 - Fix compiler warning
4453 - Fix compiler warning
4455 - Fix compiler warning: addition result could be truncated before cast to bigger sized type
4457 - Overhauled ares__get_hostent()
4459 - Fixing out of bounds memory overwrite triggered with malformed /etc/hosts file.
4460 - Improving parsing of /etc/hosts file.
4461 - Validating requested address family.
4462 - Ensuring that failures always return a NULL pointer.
4463 - Adjusting header inclusions.
4465 - Fix ssize_t redefinition errors on WIN64 reported by Alexey Simak
4467 - more files to ignore
4469 - Check if _REENTRANT definition is required to
4472 - Attempt to silence bogus compiler warning: "Potential null pointer dereference"
4474 - ignore more files
4477 - Suppress warnings about unused prototypes in Watt32 and Win32 programs.
4479 - Update email address.
4481 - Update my email address. Add ares_config.h as dependency for 'make depend'.
4484 - T_SRV portability check
4487 - changed includes to match style how we do with all other *.c files.
4489 - changed u_int16_t to unsigned short because it is the only place within ares and curl where such …
4490 …also it broke many autobuilds. We should probably introduce an ares_port_t if we want to use a typ…
4493 - Replace 'uint16_t' with 'u_int16_t' since the latter is used in ares.h.
4495 - Added 'ares_parse_srv_reply.obj'. Added definition of 'u_int16_t'. This is I don't like; we shoul…
4498 - - Jakub Hrozek added ares_parse_srv_reply() for SRV parsing
4501 - Support lookup of IPv4 literals in ares_gethostbyname(), even when the address family is set to A…
4504 - Remove call to LoadLibrary(). (leftover from debugging).
4506 - Fix bad sentence.
4509 - - Timo Teras changed the reason code used in the resolve callback done when
4510 ares_cancel() is used, to be ARES_ECANCELLED instead of ARES_ETIMEOUT to
4511 better allow the callback to know what's happening.
4513 - - Joshua Kwan fixed the init routine to fill in the defaults for stuff that
4514 fails to get inited by other means. This fixes a case of when the c-ares
4518 - test if adding ../lib to includes can fix the current break ...
4520 - renamed generated config.h to ares_config.h in order to avoid clashes when libcurl is used with o…
4523 - Refactor how libraries are checked for connect() function, follow-up.
4525 - Refactor how libraries are checked for connect() function,
4529 - Remove unneeded defines.
4531 - Use select_s() and not select().
4534 - sclose() function-like macro definition used to close a socket,
4536 config file preprocessor definitions.
4538 - add CloseSocket camel case function check
4540 - check for socket() and closesocket() as it is done for other functions
4542 - Remove HAVE_CONFIG_H definition from here,
4545 - initial step towards decoupling c-ares from libcurl for DOS
4547 - don't ignore these subdirs, they must be removed first
4549 - Remove DEBUGBUILD symbol definition, is not required for programs using the library.
4551 - DEBUGBUILD symbol definition for debug builds
4553 - ignore some subdirs
4555 - fix comment
4557 - Try to make more clear that --enable-curldebug has nothing to do with --enable-debug for this lib…
4559 - Revert last change, it is inappropriate.
4562 - Replace CURLDEBUG with DEBUGBUILD.
4565 - when running automake copy missing files instead of symlinking them
4567 - Adjusted to take in account that...
4572 CURLDEBUG used for curl debug memory tracking specific code (--enable-curldebug)
4574 DEBUGBUILD used for debug enabled specific code (--enable-debug)
4576 - c-ares' --enable-debug --enable-curldebug decoupling follow-up
4578 - mention last changes
4580 - Remove buildconf.bat from release and daily snapshot archives.
4584 - Ensure that buildconf.bat does nothing unless it is used with a CVS checkout.
4586 - CVS-INFO file only present in CVS tree, never in release nor daily snapshot
4587 archives. Used as a sentinel file in buildconf.bat to differentiate CVS builds.
4590 - Update comment about "ML". Removed "-D_USE_32BIT_TIME_T" (not a requirement).
4593 - just comment it out
4595 - For debugging purposes...
4597 Disable the '-export-symbols-regex' to discard this as the origin
4598 of link failures related with shared libraries and non-GNU linkers.
4600 - c-ares Makefile.am back to using $(top_builddir) for *_LDADD
4602 - c-ares' -no-undefined and --enable-curldebug adjustments
4604 - Use relative path to built c-ares tree libtool library
4606 - John E. Malmberg noticed that the configure script was failing to detect the
4608 to definition taking place in socket.h instead of time.h
4610 - Fix compiler warning: out of bound access
4612 - fix compilation on AIX
4614 - c-ares' --enable-curldebug adjustments
4616 - Remove temporarily introduced memory leak.
4618 - Temporarily introduce a memory leak to verify curl debug memory tracking works.
4620 - Allow curl debug memory tracking when building a shared library on
4624 - language fix
4627 - Make ares_init(), ares_dup() and ares_init_options() return ARES_ENOTINITIALIZED
4630 - c-ares's --enable-curldebug configure option decoupled from c-ares's --enable-debug
4632 - Prevent copying 'sourced' manpages for build targets that don't use them.
4635 - minor edits
4638 - Include .pdf versions of c-ares man pages in distribution tarball.
4640 - Allow generation of .html and .pdf versions of c-ares man pages.
4643 - $(OBJ_DIR)/ares_getopt.o must be cleaned explicitly.
4646 - Mention last changes
4648 - Initial ares_library_cleanup(3) man page
4650 - Update man page
4652 - Update man page
4654 - Initial ares_library_init(3) man page attempt
4656 - Force revision update, to force CVS to update the $Id date string format
4658 - Add same copyright notice as other c-ares files
4660 - Fix case
4662 - Remove run-time requirement for advapi32.dll since
4663 c-ares can work even with no advapi32.dll at all.
4665 - Intentionally avoid checking if the address of SystemFunction036, a.k.a.
4667 WinXP and later. When unavailable c-ares uses portable rand() function.
4669 - - Provide in external interface preprocessor symbol definitions for
4671 to ease the use of new capabilities.
4673 - Move ares_version() prototype to ares.h
4675 - Introduction of ares_library_init() and ares_library_cleanup()
4677 - Introduction of ares_library_init() and ares_library_cleanup()
4679 - remove outdated comment
4681 - Fix preprocessor conditional expression
4683 - fiX *__SOCKLEN_T definitions for remaining targets
4685 - *__SOCKLEN_T definitions for OS400 already fixed
4687 - fIX *__SOCKLEN_T definitions for SYMBIAN32 and VMS targets
4690 - - Gregor Jasny made c-ares link with libtool 's -export-symbols-regex option to
4694 - Remove experimental check. Currently there's no need for it.
4696 - Fix an m4 overquoting triggering a spurious 'AS_TR_CPP' symbol definition
4697 attempt in generated config.h
4699 - Proper naming for the experimental compiler test and moved to *-compilers.m4
4701 - Moved *_CHECK_COMPILER_HALT_ON_ERROR and *_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE to *-compilers.m4 a…
4703 - fIX *__SOCKLEN_T definitions for OS400 and generic GCC targets
4705 - fIX *__SOCKLEN_T definitions for MVS and 370 targets
4707 - fIX *__SOCKLEN_T definitions for several Windows target tool-chains
4709 - HP-UX's X/Open network library requirement check follow-up
4711 - HP-UX's X/Open network library requirement check follow-up
4713 - Use build-time configured ares_socklen_t instead of socklen_t
4715 - David McCreedy's "TPF-platform specific changes to various files" patch follow-up
4718 - s/libcurl/c-ares
4720 - version number typo fix
4723 - David McCreedy's "TPF-platform specific changes to various files" patch