CHANGES.0 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218
  1. Changelog for the c-ares project
  2. Version 1.7.5 (August 16, 2011)
  3. Fixed:
  4. o detection of semicolon comments in resolv.conf
  5. o avoid using system's inet_net_pton affected by the WLB-2008080064 advisory
  6. o replacement ares_inet_net_pton affected by the WLB-2008080064 advisory
  7. o replacement ares_inet_ntop affected by potential out of bounds write
  8. o added install target to Makefile.msvc
  9. o only fall back to AF_INET searches when looking for AF_UNSPEC addresses
  10. o fixed ares_parse_*_reply memory leaks
  11. o Use correct sizeof in ares_getnameinfo()
  12. o IPv6-on-windows: find DNS servers correctly
  13. o man pages: docs for the c-ares utility programs
  14. o getservbyport replacement for Win CE
  15. o config_sortlist: (win32) missing else
  16. o advance_tcp_send_queue: avoid NULL ptr dereference
  17. o configure: fix a bashism
  18. o ares_expand_name: Fix encoded length for indirect root
  19. Version 1.7.4 (December 9, 2010)
  20. Changed:
  21. o local-bind: Support binding to local interface/IPs, see
  22. ares_set_local_ip4, ares_set_local_ip6, ares_set_local_dev
  23. Fixed:
  24. o memory leak in ares_getnameinfo
  25. o add missing break that caused get_ares_servers to fail
  26. o ares_parse_a_reply: fix CNAME response parsing
  27. o init_by_options: don't copy an empty sortlist
  28. o Replaced uint32_t with unsigned int to fix broken builds
  29. on a couple of platforms
  30. o Fix lookup with HOSTALIASES set
  31. o adig: fix NAPTR parsing
  32. o compiler warning cleanups
  33. Version 1.7.3 (June 11, 2010)
  34. Fixed:
  35. o builds on Android
  36. o now includes all files necessary to build it (1.7.2 lacked a file)
  37. Version 1.7.2 (June 10, 2010)
  38. Changed:
  39. o Added ares_parse_mx_reply()
  40. Fixed:
  41. o ares_init: Last, not first instance of domain or search should win
  42. o improve alternative definition of bool
  43. o fix VS2010 compiler warnings
  44. Version 1.7.1 (Mar 23, 2010)
  45. * May 31, 2010 (Jakub Hrozek)
  46. - Use the last instance of domain/search, not the first one
  47. * March 23, 2010 (Daniel Stenberg)
  48. - We switched from CVS to git. See http://github.com/bagder/c-ares
  49. * March 5, 2010 (Daniel Stenberg)
  50. - Daniel Johnson provided fixes for building with the clang compiler.
  51. * March 5, 2010 (Yang Tse)
  52. - Added IPv6 name servers support. Implementation has been based on code,
  53. comments and feedback provided November and December of 2008 by Daniel
  54. Stenberg, Gregor Jasny, Phil Blundell and myself, December 2009 by Cedric
  55. Bail, and February 2010 by Jakub Hrozek on the c-ares mailing list. On
  56. March I reviewed all that, selected the best of each, and adjusted or
  57. extended parts of it to make the best fit.
  58. The external and visible result of all this is that two new functions are
  59. added to the external API, ares_get_servers() and ares_set_servers(), which
  60. becomes now the preferred way of getting and setting name servers for any
  61. ares channel as these support both IPv4 and IPv6 name servers.
  62. In order to not break ABI compatibility, ares_init_options() with option
  63. mask ARES_OPT_SERVERS and ares_save_options() may still be used in code
  64. which is intended to run on IPv4-only stacks. But remember that these
  65. functions do not support IPv6 name servers. This implies that if the user
  66. is capable of defining or providing an IPv6 name server, and the app is
  67. using ares_init_options() or ares_save_options() at some point to handle
  68. the name servers, the app will likely lose IPv6 name servers.
  69. * January 28, 2010 (Daniel Stenberg)
  70. - Tommie Gannert pointed out a silly bug in ares_process_fd() since it didn't
  71. check for broken connections like ares_process() did. Based on that, I
  72. merged the two functions into a single generic one with two front-ends.
  73. * December 29, 2009 (Yang Tse)
  74. - Laszlo Tamas Szabo adjusted Makefile.msvc compiler options so that where
  75. run-time error checks enabling compiler option /GZ was used it is replaced
  76. with equivalent /RTCsu for Visual Studio 2003 and newer versions. Option
  77. /GX is replaced with equivalent /EHsc for all versions. Also fixed socket
  78. data type for internal configure_socket function.
  79. * December 21, 2009 (Yang Tse)
  80. - Ingmar Runge noticed that Windows config-win32.h configuration file
  81. did not include a definition for HAVE_CLOSESOCKET which resulted in
  82. function close() being inappropriately used to close sockets.
  83. Version 1.7.0 (Nov 30, 2009)
  84. * November 26, 2009 (Yang Tse)
  85. - Larry Lansing fixed ares_parse_srv_reply to properly parse replies
  86. which might contain non-SRV answers, skipping over potential non-SRV
  87. ones such as CNAMEs.
  88. * November 23, 2009 (Yang Tse)
  89. - Changed naming convention for c-ares libraries built with MSVC, details
  90. and build instructions provided in README.msvc file.
  91. * November 22, 2009 (Yang Tse)
  92. - Jakub Hrozek fixed more function prototypes in man pages to sync them
  93. with the ones declared in ares.h
  94. - Jakub Hrozek renamed addrttl and addr6ttl structs to ares_addrttl and
  95. ares_addr6ttl in order to prevent name space pollution, along with
  96. necessary changes to code base and man pages.This change does not break
  97. ABI, there is no need to recompile existing applications. But existing
  98. applications using these structs with the old name will need source code
  99. adjustments when recompiled using c-ares 1.7.0.
  100. * November 21, 2009 (Yang Tse)
  101. - Added manifest stuff to Makefile.msvc.
  102. * November 20, 2009 (Yang Tse)
  103. - Fixed several function prototypes in man pages that were out of sync
  104. with the ones declared in ares.h. Added ares_free_data() along with
  105. man page. Updated ares_parse_srv_reply() and ares_parse_txt_reply()
  106. with changes from Jakub Hrozek making these now return linked lists
  107. instead of arrays, and merging the ares_free_data() adjustments.
  108. * November 10, 2009 (Yang Tse)
  109. - Updated MSVC 6.0 project files to match settings from Makefile.msvc.
  110. * November 9, 2009 (Yang Tse)
  111. - Makefile.msvc is now the reference method to build c-ares and sample
  112. programs with any MSVC compiler or MS Visual Studio version. If no
  113. option or target are specified it builds dynamic and static c-ares
  114. libraries in debug and release flavours and also builds all sample
  115. programs using each of the different c-ares libraries.
  116. * November 2, 2009 (Yang Tse)
  117. - Renamed c-ares setup.h to ares_setup.h
  118. * October 31, 2009 (Yang Tse)
  119. - Symbol hiding configure options are named now --enable-symbol-hiding
  120. and --disable-symbol-hiding in an attempt to make them less ambiguous.
  121. * October 30, 2009 (Yang Tse)
  122. - Many fixes for ares_parse_txt_reply()
  123. * October 29, 2009 (Daniel Stenberg)
  124. - Jakub Hrozek added ares_parse_txt_reply() for TXT parsing
  125. * October 29, 2009 (Yang Tse)
  126. - Updated MSVC 6.0 workspace and project files that allows building
  127. dynamic and static c-ares libraries in debug and release flavours.
  128. Additionally each of the three sample programs is built against
  129. each of the four possible c-ares libraries, generating all this
  130. a total number of 12 executables and 4 libraries.
  131. * October 28, 2009 (Yang Tse)
  132. - Initial step towards the ability to reduce c-ares exported symbols
  133. when built as a shared library based on the 'visibility' attribute
  134. for GNUC and Intel compilers and based on __global for Sun compilers,
  135. taking also in account __declspec function decoration for Win32 and
  136. Symbian DLL's.
  137. * October 27, 2009 (Yang Tse)
  138. - Fixed Pelles C Win32 target compilation issues.
  139. * October 23, 2009 (Yang Tse)
  140. - John Engelhart noticed an unreleased problem relative to a duplicate
  141. ARES_ECANCELLED error code value and missing error code description.
  142. * October 7, 2009 (Yang Tse)
  143. - Overhauled ares__get_hostent() Fixing out of bounds memory overwrite
  144. triggered with malformed /etc/hosts file. Improving parsing of /etc/hosts
  145. file. Validating requested address family. Ensuring that failures always
  146. return a NULL pointer. Adjusting header inclusions.
  147. * October 6, 2009 (Yang Tse)
  148. - Fix ssize_t redefinition errors on WIN64 reported by Alexey Simak.
  149. * September 29, 2009 (Yang Tse)
  150. - Make configure script also check if _REENTRANT definition is required to
  151. make errno available as a preprocessor macro.
  152. * September 7, 2009 (Yang Tse)
  153. - Add T_SRV portability check to ares_parse_srv_reply.c
  154. * 4 Sep 2009 (Daniel Stenberg)
  155. - Jakub Hrozek added ares_parse_srv_reply() for SRV parsing
  156. * 3 Aug 2009 (Daniel Stenberg)
  157. - Joshua Kwan fixed the init routine to fill in the defaults for stuff that
  158. fails to get inited by other means. This fixes a case of when the c-ares
  159. init fails when internet access is fone.
  160. - Timo Teras changed the reason code used in the resolve callback done when
  161. ares_cancel() is used, to be ARES_ECANCELLED instead of ARES_ETIMEOUT to
  162. better allow the callback to know what's happening.
  163. * 14 Jul 2009 (Guenter Knauf)
  164. - renamed generated config.h to ares_config.h to avoid any future clashes
  165. with config.h from other projects.
  166. * June 20 2009 (Yang Tse)
  167. - Refactor how libraries are checked for connect() function in configure
  168. script and check for connect() as it is done for other functions.
  169. * June 19 2009 (Yang Tse)
  170. - Make sclose() function-like macro definition used to close a socket,
  171. now solely based on HAVE_CLOSESOCKET and HAVE_CLOSESOCKET_CAMEL
  172. config file preprocessor definitions
  173. * June 18 2009 (Yang Tse)
  174. - Add CloseSocket camel case function check for configure script.
  175. * June 17 2009 (Yang Tse)
  176. - Check for socket() and closesocket() as it is done for other functions
  177. in configure script.
  178. * June 11 2009 (Yang Tse)
  179. - Modified buildconf so that when automake runs it copies missing files
  180. instead of symlinking them.
  181. * June 8 2009 (Yang Tse)
  182. - Removed buildconf.bat from release and daily snapshot archives. This
  183. file is only for CVS tree checkout builds.
  184. * May 26 2009 (Yang Tse)
  185. - Added --enable-curldebug configure option to enable and disable building
  186. with the low-level curl debug memory tracking 'feature' to allow decoupled
  187. setting from --enable-debug, allowing again to build c-ares independently
  188. out of the CVS tree.
  189. For the c-ares library option --enable-debug enables debug build features
  190. which are _not_ related with memory tracking. For the c-ares library when
  191. --enable-debug is given it does not enable the memory tracking feature. If
  192. you wish to enable the curl debug memory tracking you must use configure
  193. option --enable-curldebug explicitily to do so.
  194. Internally, definition of preprocessor symbol DEBUGBUILD restricts code
  195. which is only compiled for debug enabled builds. And symbol CURLDEBUG is
  196. used to differentiate code which is _only_ used for memory tracking.
  197. Make ares_init(), ares_dup() and ares_init_options() fail returning
  198. ARES_ENOTINITIALIZED if library initialization has not been performed
  199. calling ares_library_init().
  200. * May 20 2009 (Yang Tse)
  201. - Added ares_library_init() and ares_library_cleanup() man pages.
  202. * May 19 2009 (Yang Tse)
  203. - Introduced ares_library_init() and ares_library_cleanup() functions.
  204. This is an API and ABI break for Win32/64 systems. Non-Win32/64 build targets
  205. using c-ares 1.7.0 can still survive without calling these functions. Read all
  206. the details on ares_library_init(3) and ares_library_cleanup(3) man pages that
  207. are included.
  208. curl/libcurl 7.19.5 is fully compatible with c-ares 1.7.0 on all systems.
  209. In order to use c-ares 1.7.0 with curl/libcurl on Win32/64 systems it is
  210. required that curl/libcurl is 7.19.5 or newer. In other words, it is not
  211. possible on Win32/64 to use c-ares 1.7.0 with a curl/libcurl version less
  212. than 7.19.5
  213. * May 11 2009 (Daniel Stenberg)
  214. - Gregor Jasny made c-ares link with libtool 's -export-symbols-regex option to
  215. only expose functions starting with ares_.
  216. * May 7 2009 (Yang Tse)
  217. - Fix an m4 overquoting triggering a spurious 'AS_TR_CPP' symbol definition
  218. attempt in generated config.h
  219. * May 2 2009 (Yang Tse)
  220. - Use a build-time configured ares_socklen_t data type instead of socklen_t.
  221. * April 21 2009 (Yang Tse)
  222. - Moved potential inclusion of system's malloc.h and memory.h header files to
  223. setup_once.h. Inclusion of each header file is based on the definition of
  224. NEED_MALLOC_H and NEED_MEMORY_H respectively.
  225. * March 11 2009 (Yang Tse)
  226. - Japheth Cleaver fixed acountry.c replacing u_long with unsigned long.
  227. * February 20 2009 (Yang Tse)
  228. - Do not halt compilation when using VS2008 to build a Windows 2000 target.
  229. * February 3 2009 (Phil Blundell)
  230. - If the server returns garbage or nothing at all in response to an AAAA query,
  231. go on and ask for A records anyway.
  232. * January 31 2009 (Daniel Stenberg)
  233. - ares_gethostbyname() now accepts 'AF_UNSPEC' as a family for resolving
  234. either AF_INET6 or AF_INET. It works by accepting any of the looksups in the
  235. hosts file, and it resolves the AAAA field with a fallback to A.
  236. * January 14 2009 (Daniel Stenberg)
  237. - ares.h no longer uses the HAVE_STRUCT_IN6_ADDR define check, but instead it
  238. now declares the private struct ares_in6_addr for all systems instead of
  239. relying on one possibly not present in the system.
  240. * January 13 2009 (Phil Blundell)
  241. - ares__send_query() now varies the retry timeout pseudo-randomly to avoid
  242. packet storms when several queries were started at the same time.
  243. * January 11 2009 (Daniel Stenberg)
  244. - Phil Blundell added the internal function ares__expand_name_for_response()
  245. that is now used by the ares_parse_*_reply() functions instead of the
  246. ares_expand_name() simply to easier return ARES_EBADRESP for the cases where
  247. the name expansion fails as in responses that really isn't expected.
  248. Version 1.6.0 (Dec 9, 2008)
  249. * December 9 2008 (Gisle Vanem)
  250. Fixes for Win32 targets using the Watt-32 tcp/ip stack.
  251. * Dec 4 2008 (Daniel Stenberg)
  252. Gregor Jasny provided the patch that introduces ares_set_socket_callback(),
  253. and I edited it to also get duped by ares_dup().
  254. * Dec 3 2008 (Daniel Stenberg)
  255. API changes:
  256. I made sure the public ares_config struct looks like before and yet it
  257. supports the ROTATE option thanks to c-ares now storing the "optmask"
  258. internally. Thus we should be ABI compatible with the past release(s)
  259. now. My efforts mentioned below should not break backwards ABI compliance.
  260. Here's how I suggest we proceed with the API:
  261. ares_init() will be primary "channel creator" function.
  262. ares_init_options() will continue to work exactly like now and before. For
  263. starters, it will be the (only) way to set the existing options.
  264. ares_save_options() will continue to work like today, but will ONLY save
  265. options that you can set today (including ARES_OPT_ROTATE actually) but new
  266. options that we add may not be saved with this.
  267. Instead we introduce:
  268. ares_dup() that instead can make a new channel and clone the config used
  269. from an existing channel. It will then clone all config options, including
  270. future new things we add.
  271. ares_set_*() style functions that set (new) config options. As a start we
  272. simply add these for new functionality, but over time we can also introduce
  273. them for existing "struct ares_options" so that we can eventually deprecate
  274. the two ares_*_options() functions.
  275. ares_get_*() style functions for extracting info from a channel handle that
  276. should be used instead of ares_save_options().
  277. * Nov 26 2008 (Yang Tse)
  278. - Brad Spencer provided changes to allow buildconf to work on OS X.
  279. - Gerald Combs fixed a bug in ares_parse_ptr_reply() which would cause a
  280. buffer to shrink instead of expand if a reply contained 8 or more records.
  281. * Nov 25 2008 (Yang Tse)
  282. - In preparation for the upcomming IPv6 nameservers patch, the internal
  283. ares_addr union is now changed into an internal struct which also holds
  284. the address family.
  285. * Nov 19 2008 (Daniel Stenberg)
  286. - Brad Spencer brought the new function ares_gethostbyname_file() which simply
  287. resolves a host name from the given file, using the regular hosts syntax.
  288. * Nov 1 2008 (Daniel Stenberg)
  289. - Carlo Contavalli added support for the glibc "rotate" option, as documented
  290. in man resolv.conf:
  291. causes round robin selection of nameservers from among those listed. This
  292. has the effect of spreading the query load among all listed servers, rather
  293. than having all clients try the first listed server first every time.
  294. You can enable it with ARES_OPT_ROTATE
  295. * Oct 21 2008 (Yang Tse)
  296. Charles Hardin added handling of EINPROGRESS for UDP connects.
  297. * Oct 18 2008 (Daniel Stenberg)
  298. Charles Hardin made adig support a regular numerical dotted IP address for the
  299. -s option as well.
  300. * Oct 7 2008 (Yang Tse)
  301. - Added --enable-optimize configure option to enable and disable compiler
  302. optimizations to allow decoupled setting from --enable-debug.
  303. * Oct 2 2008 (Yang Tse)
  304. - Added --enable-warnings configure option to enable and disable strict
  305. compiler warnings to allow decoupled setting from --enable-debug.
  306. * Sep 17 2008 (Yang Tse)
  307. - Code reorganization to allow internal/private use of "nameser.h" to any
  308. system that lacks arpa/nameser.h or arpa/nameser_compat.h header files.
  309. * Sep 16 2008 (Yang Tse)
  310. - Code reorganization to allow internal/private use of ares_writev to any
  311. system that lacks the writev function.
  312. * Sep 15 2008 (Yang Tse)
  313. - Code reorganization to allow internal/private use of ares_strcasecmp to any
  314. system that lacks the strcasecmp function.
  315. - Improve configure detection of some string functions.
  316. * Sep 11 2008 (Yang Tse)
  317. - Code reorganization to allow internal/private use of ares_strdup to any
  318. system that lacks the strdup function.
  319. Version 1.5.3 (Aug 29, 2008)
  320. * Aug 25 2008 (Yang Tse)
  321. - Improvement by Brad House:
  322. This patch addresses an issue in which a response could be sent back to the
  323. source port of a client from a different address than the request was made to.
  324. This is one form of a DNS cache poisoning attack.
  325. The patch simply uses recvfrom() rather than recv() and validates that the
  326. address returned from recvfrom() matches the address of the server we have
  327. connected to. Only necessary on UDP sockets as they are connection-less, TCP
  328. is unaffected.
  329. - Fix by George Neill:
  330. Fixed compilation of acountry sample application failure on some systems.
  331. * Aug 4 2008 (Daniel Stenberg)
  332. - Fix by Tofu Linden:
  333. The symptom:
  334. * Users (usually, but not always) on 2-Wire routers and the Comcast service
  335. and a wired connection to their router would find that the second and
  336. subsequent DNS lookups from fresh processes using c-ares to resolve the same
  337. address would cause the process to never see a reply (it keeps polling for
  338. around 1m15s before giving up).
  339. The repro:
  340. * On such a machine (and yeah, it took us a lot of QA to find the systems
  341. that reproduce such a specific problem!), do 'ahost www.secondlife.com',
  342. then do it again. The first process's lookup will work, subsequent lookups
  343. will time-out and fail.
  344. The cause:
  345. * init_id_key() was calling randomize_key() *before* it initialized
  346. key->state, meaning that the randomness generated by randomize_key() is
  347. immediately overwritten with deterministic values. (/dev/urandom was also
  348. being read incorrectly in the c-ares version we were using, but this was
  349. fixed in a later version.)
  350. * This makes the stream of generated query-IDs from any new c-ares process
  351. be an identical and predictable sequence of IDs.
  352. * This makes the 2-Wire's default built-in DNS server detect these queries
  353. as probable-duplicates and (erroneously) not respond at all.
  354. * Aug 4 2008 (Yang Tse)
  355. - Autoconf 2.62 has changed the behaviour of the AC_AIX macro which we use.
  356. Prior versions of autoconf defined _ALL_SOURCE if _AIX was defined. 2.62
  357. version of AC_AIX defines _ALL_SOURCE and other four preprocessor symbols
  358. no matter if the system is AIX or not. To keep the traditional behaviour,
  359. and an uniform one across autoconf versions AC_AIX is replaced with our
  360. own internal macro CARES_CHECK_AIX_ALL_SOURCE.
  361. * Aug 1 2008 (Yang Tse)
  362. - Configure process now checks if the preprocessor _REENTRANT symbol is already
  363. defined. If it isn't currently defined a set of checks are performed to test
  364. if its definition is required to make visible to the compiler a set of *_r
  365. functions. Finally, if _REENTRANT is already defined or needed it takes care
  366. of making adjustments necessary to ensure that it is defined equally for the
  367. configure process tests and generated config file.
  368. * Jul 20 2008 (Yang Tse)
  369. - When recvfrom prototype uses a void pointer for arguments 2, 5 or 6 this will
  370. now cause the definition, as appropriate, of RECVFROM_TYPE_ARG2_IS_VOID,
  371. RECVFROM_TYPE_ARG5_IS_VOID or RECVFROM_TYPE_ARG6_IS_VOID.
  372. * Jul 17 2008 (Yang Tse)
  373. - RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now defined
  374. to the data type pointed by its respective argument and not the pointer type.
  375. * Jul 16 2008 (Yang Tse)
  376. - Improved configure detection of number of arguments for getservbyport_r.
  377. Detection is now based on compilation checks instead of linker ones.
  378. - Configure process now checks availability of recvfrom() socket function and
  379. finds out its return type and the types of its arguments. Added definitions
  380. for non-configure systems config files, and introduced macro sreadfrom which
  381. will be used on udp sockets as a recvfrom() wrapper in the future.
  382. * Jul 15 2008 (Yang Tse)
  383. - Introduce definition of _REENTRANT symbol in setup.h to improve library
  384. usability. Previously the configure process only used the AC_SYS_LARGEFILE
  385. macro for debug builds, now it is also used for non-debug ones enabling the
  386. use of configure options --enable-largefile and --disable-largefile which
  387. might be needed for library compatibility. Remove checking the size of
  388. curl_off_t, it is no longer needed.
  389. * Jul 3 2008 (Daniel Stenberg)
  390. - Phil Blundell: If you ask ares_gethostbyname() to do an AF_INET6 lookup and
  391. the target host has only A records, it automatically falls back to an
  392. AF_INET lookup and gives you the A results. However, if the target host has
  393. a CNAME record, this behaviour is defeated since the original query does
  394. return some data even though ares_parse_aaa_reply() doesn't consider it
  395. relevant. Here's a small patch to make it behave the same with and without
  396. the CNAME.
  397. * Jul 2 2008 (Yang Tse)
  398. - Fallback to gettimeofday when monotonic clock is unavailable at run-time.
  399. * Jun 30 2008 (Daniel Stenberg)
  400. - As was pointed out to me by Andreas Schuldei, the MAXHOSTNAMELEN define is
  401. not posix or anything and thus c-ares failed to build on hurd (and possibly
  402. elsewhere). The define was also somewhat artificially used in the windows
  403. port. Now, I instead rewrote the use of gethostbyname to enlarge the host
  404. name buffer in case of need and totally avoid the use of the MAXHOSTNAMELEN
  405. define. I thus also removed the defien from the namser.h file where it was
  406. once added for the windows build.
  407. I also fixed init_by_defaults() function to not leak memory in case if
  408. error.
  409. * Jun 9 2008 (Yang Tse)
  410. - Make libcares.pc generated file for pkg-config include information relative
  411. to the libraries needed for the static linking of c-ares.
  412. * May 30 2008 (Yang Tse)
  413. - Brad House fixed a missing header file inclusion in adig sample program.
  414. Version 1.5.2 (May 29, 2008)
  415. * May 13 2008 (Daniel Stenberg)
  416. - Introducing millisecond resolution support for the timeout option. See
  417. ares_init_options()'s ARES_OPT_TIMEOUTMS.
  418. * May 9 2008 (Yang Tse)
  419. - Use monotonic time source if available, for private function ares__tvnow()
  420. * May 7 2008 (Daniel Stenberg)
  421. - Sebastian made c-ares able to return all PTR-records when doing reverse
  422. lookups. It is not common practice to have multiple PTR-Records for a single
  423. IP, but its perfectly legal and some sites have those.
  424. - Doug Goldstein provided a configure patch: updates autoconf 2.13 usage to
  425. autoconf 2.57 usage (which is the version you have specified as the minimum
  426. version). It's a minor change but it does clean up some warnings with newer
  427. autoconf (specifically 2.62).
  428. * May 5 2008 (Yang Tse)
  429. - Improved parsing of resolver configuration files.
  430. * April 4 2008 (Daniel Stenberg)
  431. - Eino Tuominen improved the code when a file is used to seed the randomizer.
  432. - Alexey Simak made adig support NAPTR records
  433. - Alexey Simak fixed the VC dsp file by adding the missing source file
  434. ares_expand_string.c
  435. * December 11 2007 (Gisle Vanem)
  436. - Added another sample application; acountry.c which converts an
  437. IPv4-address(es) and/or host-name(s) to country-name and country-code.
  438. This uses the service of the DNSBL at countries.nerd.dk.
  439. * December 3 2007 (Daniel Stenberg)
  440. - Brad Spencer fixed the configure script to assume that there's no
  441. /dev/urandom when built cross-compiled as then the script cannot check for
  442. it.
  443. - Erik Kline cleaned up ares_gethostbyaddr.c:next_lookup() somewhat
  444. Version 1.5.1 (Nov 21, 2007)
  445. * November 21 2007 (Daniel Stenberg)
  446. - Robin Cornelius pointed out that ares_llist.h was missing in the release
  447. archive for 1.5.0
  448. Version 1.5.0 (Nov 21, 2007)
  449. * October 2 2007 (Daniel Stenberg)
  450. - ares_strerror() segfaulted if the input error number was out of the currently
  451. supported range.
  452. - Yang Tse: Avoid a segfault when generating a DNS "Transaction ID" in
  453. internal function init_id_key() under low memory conditions.
  454. * September 28 2007 (Daniel Stenberg)
  455. - Bumped version to 1.5.0 for next release and soname bumped to 2 due to ABI
  456. and API changes in the progress callback (and possibly more coming up from
  457. Steinar)
  458. * September 28 2007 (Steinar H. Gunderson)
  459. - Don't skip a server if it's the only one. (Bugfix from the Google tree.)
  460. - Made the query callbacks receive the number of timeouts that happened during
  461. the execution of a query, and updated documentation accordingly. (Patch from
  462. the Google tree.)
  463. - Support a few more socket options: ARES_OPT_SOCK_SNDBUF and
  464. ARES_OPT_SOCK_RCVBUF
  465. - Always register for TCP events even if there are no outstanding queries, as
  466. the other side could always close the connection, which is a valid event
  467. which should be responded to.
  468. * September 22 2007 (Daniel Stenberg)
  469. - Steinar H. Gunderson fixed: Correctly clear sockets from the fd_set on in
  470. several functions (write_tcp_data, read_tcp_data, read_udp_packets) so that
  471. if it fails and the socket is closed the following code doesn't try to use
  472. the file descriptor.
  473. - Steinar H. Gunderson modified c-ares to now also do to DNS retries even when
  474. TCP is used since there are several edge cases where it still makes sense.
  475. - Brad House provided a fix for ares_save_options():
  476. Apparently I overlooked something with the ares_save_options() where it
  477. would try to do a malloc(0) when no options of that type needed to be saved.
  478. On most platforms, this was fine because malloc(0) doesn't actually return
  479. NULL, but on AIX it does, so ares_save_options would return ARES_ENOMEM.
  480. * July 14 2007 (Daniel Stenberg)
  481. - Vlad Dinulescu fixed two outstanding valgrind reports:
  482. 1. In ares_query.c , in find_query_by_id we compare q->qid (which is a short
  483. int variable) with qid, which is declared as an int variable. Moreover,
  484. DNS_HEADER_SET_QID is used to set the value of qid, but DNS_HEADER_SET_QID
  485. sets only the first two bytes of qid. I think that qid should be declared as
  486. "unsigned short" in this function.
  487. 2. The same problem occurs in ares_process.c, process_answer() . query->qid
  488. (an unsigned short integer variable) is compared with id, which is an
  489. integer variable. Moreover, id is initialized from DNS_HEADER_QID which sets
  490. only the first two bytes of id. I think that the id variable should be
  491. declared as "unsigned short" in this function.
  492. Even after declaring these variables as "unsigned short", the valgrind
  493. errors are still there. Which brings us to the third problem.
  494. 3. The third problem is that Valgrind assumes that query->qid is not
  495. initialised correctly. And it does that because query->qid is set from
  496. DNS_HEADER_QID(qbuf); Valgrind says that qbuf has unitialised bytes. And
  497. qbuf has uninitialised bytes because of channel->next_id . And next_id is
  498. set by ares_init.c:ares__generate_new_id() . I found that putting short r=0
  499. in this function (instead of short r) makes all Valgrind warnings go away.
  500. I have studied ares__rc4() too, and this is the offending line:
  501. buffer_ptr[counter] ^= state[xorIndex]; (ares_query.c:62)
  502. This is what triggers Valgrind.. buffer_ptr is unitialised in this function,
  503. and by applying ^= on it, it remains unitialised.
  504. Version 1.4.0 (June 8, 2007)
  505. * June 4 2007 (Daniel Stenberg)
  506. - James Bursa reported a major memory problem when resolving multi-IP names
  507. and I found and fixed the problem. It was added by Ashish Sharma's patch
  508. two days ago.
  509. When I then tried to verify multiple entries in /etc/hosts after my fix, I
  510. got another segfault and decided this code was not ripe for inclusion and I
  511. reverted the patch.
  512. * June 2 2007
  513. - Brad Spencer found and fixed three flaws in the code, found with the new
  514. gcc 4.2.0 warning: -Waddress
  515. - Brad House fixed VS2005 compiler warnings due to time_t being 64bit.
  516. He also made recent Microsoft compilers use _strdup() instead of strdup().
  517. - Brad House's man pages for ares_save_options() and ares_destroy_options()
  518. were added.
  519. - Ashish Sharma provided a patch for supporting multiple entries in the
  520. /etc/hosts file. Patch edited for coding style and functionality by me
  521. (Daniel).
  522. * May 30 2007
  523. - Shmulik Regev brought cryptographically secure transaction IDs:
  524. The c-ares library implementation uses a DNS "Transaction ID" field that is
  525. seeded with a pseudo random number (based on gettimeofday) which is
  526. incremented (++) between consecutive calls and is therefore rather
  527. predictable. In general, predictability of DNS Transaction ID is a well
  528. known security problem (e.g.
  529. http://bak.spc.org/dms/archive/dns_id_attack.txt) and makes a c-ares based
  530. implementation vulnerable to DNS poisoning. Credit goes to Amit Klein
  531. (Trusteer) for identifying this problem.
  532. The patch I wrote changes the implementation to use a more secure way of
  533. generating unique IDs. It starts by obtaining a key with reasonable entropy
  534. which is used with an RC4 stream to generate the cryptographically secure
  535. transaction IDs.
  536. Note that the key generation code (in ares_init:randomize_key) has two
  537. versions, the Windows specific one uses a cryptographically safe function
  538. provided (but undocumented :) by the operating system (described at
  539. http://blogs.msdn.com/michael_howard/archive/2005/01/14/353379.aspx). The
  540. default implementation is a bit naive and uses the standard 'rand'
  541. function. Surely a better way to generate random keys exists for other
  542. platforms.
  543. The patch can be tested by using the adig utility and using the '-s' option.
  544. - Brad House added ares_save_options() and ares_destroy_options() that can be
  545. used to keep options for later re-usal when ares_init_options() is used.
  546. Problem: Calling ares_init() for each lookup can be unnecessarily resource
  547. intensive. On windows, it must LoadLibrary() or search the registry
  548. on each call to ares_init(). On unix, it must read and parse
  549. multiple files to obtain the necessary configuration information. In
  550. a single-threaded environment, it would make sense to only
  551. ares_init() once, but in a heavily multi-threaded environment, it is
  552. undesirable to ares_init() and ares_destroy() for each thread created
  553. and track that.
  554. Solution: Create ares_save_options() and ares_destroy_options() functions to
  555. retrieve and free options obtained from an initialized channel. The
  556. options populated can be used to pass back into ares_init_options(),
  557. it should populate all needed fields and not retrieve any information
  558. from the system. Probably wise to destroy the cache every minute or
  559. so to prevent the data from becoming stale.
  560. - Daniel S added ares_process_fd() to allow applications to ask for processing
  561. on specific sockets and thus avoiding select() and associated
  562. functions/macros. This function will be used by upcoming libcurl releases
  563. for this very reason. It also made me export the ares_socket_t type in the
  564. public ares.h header file, since ares_process_fd() uses that type for two of
  565. the arguments.
  566. * May 25 2007
  567. - Ravi Pratap fixed a flaw in the init_by_resolv_conf() function for windows
  568. that could cause it to return a bad return code.
  569. * April 16 2007
  570. - Yang Tse: Provide ares_getopt() command-line parser function as a source
  571. code helper function, not belonging to the actual c-ares library.
  572. * February 19 2007
  573. - Vlad Dinulescu added ares_parse_ns_reply().
  574. * February 13 2007
  575. - Yang Tse: Fix failure to get the search sequence of /etc/hosts and
  576. DNS from /etc/nsswitch.conf, /etc/host.conf or /etc/svc.conf when
  577. /etc/resolv.conf did not exist or was unable to read it.
  578. * November 22 2006
  579. - Install ares_dns.h too
  580. - Michael Wallner fixed this problem: When I set domains in the options
  581. struct, and there are domain/search entries in /etc/resolv.conf, the domains
  582. of the options struct will be overridden.
  583. * November 6 2006
  584. - Yang Tse removed a couple of potential zero size memory allocations.
  585. - Andreas Rieke fixed the line endings in the areslib.dsp file that I (Daniel)
  586. broke in the 1.3.2 release. We should switch to a system where that file is
  587. auto-generated. We could rip some code for that from curl...
  588. Version 1.3.2 (November 3, 2006)
  589. * October 12 2006
  590. - Prevent ares_getsock() to overflow if more than 16 sockets are used.
  591. * September 11 2006
  592. - Guilherme Balena Versiani: I noted a strange BUG in Win32 port
  593. (ares_init.c/get_iphlpapi_dns_info() function): when I disable the network
  594. by hand or disconnect the network cable in Windows 2000 or Windows XP, my
  595. application gets 127.0.0.1 as the only name server. The problem comes from
  596. 'GetNetworkParams' function, that returns the empty string "" as the only
  597. name server in that case. Moreover, the Windows implementation of
  598. inet_addr() returns INADDR_LOOPBACK instead of INADDR_NONE.
  599. * August 29 2006
  600. - Brad Spencer did
  601. o made ares_version.h use extern "C" for c++ compilers
  602. o fixed compiler warnings in ares_getnameinfo.c
  603. o fixed a buffer position init for TCP reads
  604. * August 3 2006
  605. - Ravi Pratap fixed ares_getsock() to actually return the proper bitmap and
  606. not always zero!
  607. Version 1.3.1 (June 24, 2006)
  608. * July 23, 2006
  609. - Gisle Vanem added getopt() to the ahost program. Currently accepts
  610. only [-t {a|aaaa}] to specify address family in ares_gethostbyname().
  611. * June 19, 2006
  612. - (wahern) Removed "big endian" DNS section and RR data integer parser
  613. macros from ares_dns.h, which break c-ares on my Sparc64. Bit-wise
  614. operations in C operate on logical values. And in any event the octets are
  615. already in big-endian (aka network) byte order so they're being reversed
  616. (thus the source of the breakage).
  617. * June 18, 2006
  618. - William Ahern handles EAGAIN/EWOULDBLOCK errors in most of the I/O calls
  619. from area_process.c.
  620. TODO: Handle one last EAGAIN for a UDP socket send(2) in
  621. ares__send_query().
  622. * May 10, 2006
  623. - Bram Matthys brought my attention to a libtool peculiarity where detecting
  624. things such as C++ compiler actually is a bad thing and since we don't need
  625. that detection I added a work-around, much inspired by a previous patch by
  626. Paolo Bonzini. This also shortens the configure script quite a lot.
  627. * May 3, 2006
  628. - Nick Mathewson added the ARES_OPT_SOCK_STATE_CB option that when set makes
  629. c-ares call a callback on socket state changes. A better way than the
  630. ares_getsock() to get full control over the socket state.
  631. * January 9, 2006
  632. - Alexander Lazic improved the getservbyport_r() configure check.
  633. * January 6, 2006
  634. - Alexander Lazic pointed out that the buildconf should use the ACLOCAL_FLAGS
  635. variable for easier controlling what it does and how it runs.
  636. * January 5, 2006
  637. - James Bursa fixed c-ares to find the hosts file on RISC OS, and made it
  638. build with newer gcc versions that no longer defines "riscos".
  639. * December 22
  640. - Daniel Stenberg added ares_getsock() that extracts the set of sockets to
  641. wait for action on. Similar to ares_fds() but not restricted to using
  642. select() for the waiting.
  643. * November 25
  644. - Yang Tse fixed some send() / recv() compiler warnings
  645. * September 18
  646. - Added constants that will be used by ares_getaddrinfo
  647. - Made ares_getnameinfo use the reentrant getservbyport (getservbyport_r) if it
  648. is available to ensure it works properly in a threaded environment.
  649. * September 10
  650. - configure fix for detecting a member in the sockaddr_in6 struct which failed
  651. on ipv6-enabled HP-UX 11.00
  652. Version 1.3.0 (August 29, 2005)
  653. * August 21
  654. - Alfredo Tupone provided a fix for the Windows code in get_iphlpapi_dns_info()
  655. when getting the DNS server etc.
  656. * June 19
  657. - Added some checks for the addrinfo structure.
  658. * June 2
  659. - William Ahern:
  660. Make UDP sockets non-blocking. I've confirmed that at least on Linux 2.4 a
  661. read event can come back from poll() on a valid SOCK_DGRAM socket but
  662. recv(2) will still block. This patch doesn't ignore EAGAIN in
  663. read_udp_packets(), though maybe it should. (This patch was edited by Daniel
  664. Stenberg and a new configure test was added (imported from curl's configure)
  665. to properly detect what non-blocking socket approach to use.)
  666. I'm not quite sure how this was happening, but I've been seeing PTR queries
  667. which seem to return empty responses. At least, they were empty when calling
  668. ares_expand_name() on the record. Here's a patch which guarantees to
  669. NUL-terminate the expanded name. The old behavior failed to NUL-terminate if
  670. len was 0, and this was causing strlen() to run past the end of the buffer
  671. after calling ares_expand_name() and getting ARES_SUCCESS as the return
  672. value. If q is not greater than *s then it's equal and *s is always
  673. allocated with at least one byte.
  674. * May 16
  675. - Added ares_getnameinfo which mimics the getnameinfo API (another feature
  676. that could use testing).
  677. * May 14
  678. - Added an inet_ntop function from BIND for systems that do not have it.
  679. * April 9
  680. - Made sortlist support IPv6 (this can probably use some testing).
  681. - Made sortlist support CIDR matching for IPv4.
  682. * April 8
  683. - Added preliminary IPv6 support to ares_gethostbyname. Currently, sortlist
  684. does not work with IPv6. Also provided an implementation of bitncmp from
  685. BIND for systems that do not supply this function. This will be used to add
  686. IPv6 support to sortlist.
  687. - Made ares_gethostbyaddr support IPv6 by specifying AF_INET6 as the family.
  688. The function can lookup IPv6 addresses both from files (/etc/hosts) and
  689. DNS lookups.
  690. * April 7
  691. - Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac
  692. OS X.
  693. * April 5
  694. - Dominick Meglio: Provided implementations of inet_net_pton and inet_pton
  695. from BIND for systems that do not include these functions.
  696. * March 11, 2005
  697. - Dominick Meglio added ares_parse_aaaa_reply.c and did various
  698. adjustments. The first little steps towards IPv6 support!
  699. * November 7
  700. - Fixed the VC project and makefile to use ares_cancel and ares_version
  701. * October 24
  702. - The released ares_version.h from 1.2.1 says 1.2.0 due to a maketgz flaw.
  703. This is now fixed.
  704. Version 1.2.1 (October 20, 2004)
  705. * September 29
  706. - Henrik Stoerner fix: got a report that Tru64 Unix (the unix from Digital
  707. when they made Alpha's) uses /etc/svc.conf for the purpose fixed below for
  708. other OSes. He made c-ares check for and understand it if present.
  709. - Now c-ares will use local host name lookup _before_ DNS resolving by default
  710. if nothing else is told.
  711. * September 26
  712. - Henrik Stoerner: found out that c-ares does not look at the /etc/host.conf
  713. file to determine the sequence in which to search /etc/hosts and DNS. So on
  714. systems where this order is defined by /etc/host.conf instead of a "lookup"
  715. entry in /etc/resolv.conf, c-ares will always default to looking in DNS
  716. first, and /etc/hosts second.
  717. c-ares now looks at
  718. 1) resolv.conf (for the "lookup" line);
  719. 2) nsswitch.fon (for the "hosts:" line);
  720. 3) host.conf (for the "order" line).
  721. First match wins.
  722. - Dominick Meglio patched: C-ares on Windows assumed that the HOSTS file is
  723. located in a static location. It assumed
  724. C:\Windows\System32\Drivers\Etc. This is a poor assumption to make. In fact,
  725. the location of the HOSTS file can be changed via a registry setting.
  726. There is a key called DatabasePath which specifies the path to the HOSTS
  727. file:
  728. http://www.microsoft.com/technet/itsolutions/network/deploy/depovg/tcpip2k.mspx
  729. The patch will make c-ares correctly consult the registry for the location
  730. of this file.
  731. * August 29
  732. - Gisle Vanem fixed the MSVC build files.
  733. * August 20
  734. - Gisle Vanem made c-ares build and work with his Watt-32 TCP/IP stack.
  735. * August 13
  736. - Harshal Pradhan made a minor syntax change in ares_init.c to make it build
  737. fine with MSVC 7.1
  738. * July 24
  739. - Made the lib get built static only if --enable-debug is used.
  740. - Gisle Vanem fixed:
  741. Basically in loops like handle_errors(), 'query->next' was assigned a local
  742. variable and then query was referenced after the memory was freed by
  743. next_server(). I've changed that so next_server() and end_query() returns
  744. the next query. So callers should use this ret-value.
  745. The next problem was that 'server->tcp_buffer_pos' had a random value at
  746. entry to 1st recv() (luckily causing Winsock to return ENOBUFS).
  747. I've also added a ares_writev() for Windows to streamline the code a bit
  748. more.
  749. * July 20
  750. - Fixed a few variable return types for some system calls. Made configure
  751. check for ssize_t to make it possible to use that when receiving the send()
  752. error code. This is necessary to prevent compiler warnings on some systems.
  753. - Made configure create config.h, and all source files now include setup.h that
  754. might include the proper config.h (or a handicrafted alternative).
  755. - Switched to 'ares_socket_t' type for sockets in ares, since Windows don't
  756. use 'int' for that.
  757. - automake-ified and libool-ified c-ares. Now it builds libcares as a shared
  758. lib on most platforms if wanted. (This bloated the size of the release
  759. archive with another 200K!)
  760. - Makefile.am now uses Makefile.inc for the c sources, h headers and man
  761. pages, to make it easier for other makefiles to use the exact same set of
  762. files.
  763. - Adjusted 'maketgz' to use the new automake magic when building distribution
  764. archives.
  765. - Anyone desires HTML and/or PDF versions of the man pages in the release
  766. archives?
  767. * July 3
  768. - Günter Knauf made c-ares build and run on Novell Netware.
  769. * July 1
  770. - Gisle Vanem provided Makefile.dj to build with djgpp, added a few more djgpp
  771. fixes and made ares not use 'errno' to provide further info on Windows.
  772. * June 30
  773. - Gisle Vanem made it build with djgpp and run fine with the Watt-32 stack.
  774. * June 10
  775. - Gisle Vanem's init patch for Windows:
  776. The init_by_resolv_conf() function fetches the DNS-server(s)
  777. from a series of registry branches.
  778. This can be wrong in the case where DHCP has assigned nameservers, but the
  779. user has overridden these servers with other prefered settings. Then it's
  780. wrong to use the DHCPNAMESERVER setting in registry.
  781. In the case of no global DHCP-assigned or fixed servers, but DNS server(s)
  782. per adapter, one has to query the adapter branches. But how can c-ares know
  783. which adapter is valid for use? AFAICS it can't. There could be one adapter
  784. that is down (e.g. a VPN adapter).
  785. So it's better to leave this to the IP Helper API (iphlapi) available in
  786. Win-98/2000 and later. My patch falls-back to the old way if not available.
  787. * June 8
  788. - James Bursa fixed an init issue for RISC OS.
  789. * May 11
  790. - Nico Stappenbelt reported that when processing domain and search lines in
  791. the resolv.conf file, the first entry encountered is processed and used as
  792. the search list. According to the manual pages for both Linux, Solaris and
  793. Tru64, the last entry of either a domain or a search field is used.
  794. This is now adjusted in the code
  795. Version 1.2.0 (April 13, 2004)
  796. * April 2, 2004
  797. - Updated various man pages to look nicer when converted to HTML on the web
  798. site.
  799. * April 1, 2004
  800. - Dirk Manske provided a new function that is now named ares_cancel(). It is
  801. used to cancel/cleanup a resolve/request made using ares functions on the
  802. given ares channel. It does not destroy/kill the ares channel itself.
  803. - Dominick Meglio cleaned up the formatting in several man pages.
  804. * March 30, 2004
  805. - Dominick Meglio's new ares_expand_string. A helper function when decoding
  806. incoming DNS packages.
  807. - Daniel Stenberg modified the Makefile.in to use a for loop for the man page
  808. installation to improve overview and make it easier to add man pages.
  809. Version 1.1.0 (March 11, 2004)
  810. * March 9, 2004
  811. - Gisle Vanem improved build on Windows.
  812. * February 25, 2004
  813. - Dan Fandrich found a flaw in the Feb 22 fix.
  814. - Added better configure --enable-debug logic (taken from the curl configure
  815. script). Added acinclude.m4 to the tarball.
  816. * February 23, 2004
  817. - Removed ares_free_errmem(), the function, the file and the man page. It was
  818. not used and it did nothing.
  819. - Fixed a lot of code that wasn't "64bit clean" and thus caused a lot of
  820. compiler warnings on picky compilers.
  821. * February 22, 2004
  822. - Dominick Meglio made ares init support multiple name servers in the
  823. NameServer key on Windows.
  824. * February 16, 2004
  825. - Modified ares_private.h to include libcurl's memory debug header if
  826. CURLDEBUG is set. This makes all the ares-functions supervised properly by
  827. the curl test suite. This also forced me to add inclusion of the
  828. ares_private.h header in a few more files that are using some kind of
  829. memory-related resources.
  830. - Made the makefile only build ahost and adig if 'make demos' is used.
  831. * February 10, 2004
  832. - Dirk Manske made ares_version.h installed with 'make install'
  833. * February 4, 2004
  834. - ares_free_errmem() is subject for removal, it is simply present for future
  835. purposes, and since we removed the extra parameter in strerror() it won't
  836. be used by c-ares!
  837. - configure --enable-debug now enables picky compiler options if gcc is used
  838. - fixed several compiler warnings --enable-debug showed and Joerg Mueller-Tolk
  839. reported
  840. Version 1.0.0 (February 3, 2004)
  841. * February 3, 2004
  842. - now we produce the libcares.a library instead of the previous libares.a
  843. since we are no longer compatible
  844. * February 2, 2004
  845. - ares_strerror() has one argument less. This is the first official
  846. modification of the existing provided ares API.
  847. * January 29, 2004
  848. - Dirk Manske fixed how the socket is set non-blocking.
  849. * January 4, 2004
  850. - Dominick Meglio made the private gettimeofday() become ares_gettimeofday()
  851. instead in order to not pollute the name space and risk colliding with
  852. other libraries' versions of this function.
  853. * October 24, 2003. Daniel Stenberg
  854. Added ares_version().
  855. Version 1.0-pre1 (8 October 2003)
  856. - James Bursa made it run on RISC OS
  857. - Dominick Meglio made it run fine on NT4
  858. - Duncan Wilcox made it work fine on Mac OS X
  859. - Daniel Stenberg adjusted the windows port
  860. - liren at vivisimo.com made the initial windows port
  861. * Imported the sources from ares 1.1.1