Skip to content

v1.8.0

Compare
Choose a tag to compare
@m-ronnblom m-ronnblom released this 07 Feb 16:42
· 136 commits to master since this release

Release v1.8.0 contains the following improvements:

  • XCM switches over from using the glibc resolver to the c-ares DNS library. It is still possible to build a library which uses glibc and getaddrinfo_a(), with the --disable-cares configure option. c-ares has the following number of advantages over glibc's resolver:
    • Does not leak memory.
    • Better performance.
    • Allows to programmatically tweak DNS timeout parameters.
    • Much cleaner API.
    • Does not use a background thread. The glibc threads caused a number of issues, in particular since they failed to block UNIX signals.
  • A new attribute "dns.timeout" is added, which allows an application to specify the maximum time out for the DNS resolution process. The default is 10 seconds. This attribute is only available if libxcm is built with c-ares support.
  • Support for double-precision floating point socket attributes are added to <xcm_attr.h> and <xcm_attr_map.h> APIs.

The API/ABI version is bumped to 0.23.

The API documentation and user manual for this release can be found at:
https://ericsson.github.io/xcm/doc/v1.8.0/