Daniel Stenberg
eb9ce5145b
s/CVS/git
15 years ago
Daniel Stenberg
0a076df87f
Daniel Johnson provided fixes for building with the clang compiler
15 years ago
Yang Tse
8fe746fcf2
Added IPv6 name servers support
15 years ago
Daniel Stenberg
8b6f71ce95
- Tommie Gannert pointed out a silly bug in ares_process_fd() since it didn't
...
check for broken connections like ares_process() did. Based on that, I
merged the two functions into a single generic one with two front-ends.
15 years ago
Yang Tse
92dcb407d6
Mention last changes
15 years ago
Yang Tse
c2d3f7986b
- Ingmar Runge noticed that Windows config-win32.h configuration file
...
did not include a definition for HAVE_CLOSESOCKET which resulted in
function close() being inappropriately used to close sockets.
15 years ago
Daniel Stenberg
df279b133c
start working on 1.7.1
15 years ago
Yang Tse
57e48c4cf1
- Larry Lansing fixed ares_parse_srv_reply to properly parse replies
...
which might contain non-SRV answers, skipping over potential non-SRV
ones such as CNAMEs.
15 years ago
Yang Tse
612a29311a
Daniel wants upcoming release to be 1.7.0
15 years ago
Yang Tse
dc4528e672
Mention last changes
15 years ago
Yang Tse
96d3205622
- Mention other recent changes
15 years ago
Yang Tse
36b26039ac
- Jakub Hrozek renamed addrttl and addr6ttl structs to ares_addrttl and
...
ares_addr6ttl in order to prevent name space pollution, along with
necessary changes to code base and man pages.This change does not break
ABI, there is no need to recompile existing applications. But existing
applications using these structs with the old name will need source code
adjustments when recompiled using c-ares 1.6.1.
15 years ago
Yang Tse
497afa9acb
- Jakub Hrozek fixed more function prototypes in man pages to sync them
...
with the ones declared in ares.h
15 years ago
Yang Tse
0096b5a584
Mention last changes
15 years ago
Yang Tse
a82a8fbf82
Renamed c-ares setup.h to ares_setup.h
15 years ago
Yang Tse
6313b186ad
Mention many changes
15 years ago
Daniel Stenberg
9cbd5ed034
Jakub Hrozek added ares_parse_txt_reply() for TXT parsing
15 years ago
Yang Tse
b53526b1a9
John Engelhart noticed an unreleased problem relative to a duplicate
...
ARES_ECANCELLED error code value and missing error code description.
15 years ago
Yang Tse
c2d3e82931
Overhauled ares__get_hostent()
...
- Fixing out of bounds memory overwrite triggered with malformed /etc/hosts file.
- Improving parsing of /etc/hosts file.
- Validating requested address family.
- Ensuring that failures always return a NULL pointer.
- Adjusting header inclusions.
15 years ago
Daniel Stenberg
a5b204dd5b
- Jakub Hrozek added ares_parse_srv_reply() for SRV parsing
15 years ago
Daniel Stenberg
408df8efcd
- Timo Teras changed the reason code used in the resolve callback done when
...
ares_cancel() is used, to be ARES_ECANCELLED instead of ARES_ETIMEOUT to
better allow the callback to know what's happening.
16 years ago
Daniel Stenberg
d0a8c3b68b
- Joshua Kwan fixed the init routine to fill in the defaults for stuff that
...
fails to get inited by other means. This fixes a case of when the c-ares
init fails when internet access is fone.
16 years ago
Gunter Knauf
e391db0ef9
renamed generated config.h to ares_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h.
16 years ago
Yang Tse
1228991462
Try to make more clear that --enable-curldebug has nothing to do with --enable-debug for this library.
16 years ago
Yang Tse
f8fac7ee8c
mention last changes
16 years ago
Yang Tse
84aa2f8a5d
c-ares's --enable-curldebug configure option decoupled from c-ares's --enable-debug
16 years ago
Yang Tse
83cb810b75
Mention last changes
16 years ago
Daniel Stenberg
ee97c69362
- Gregor Jasny made c-ares link with libtool 's -export-symbols-regex option to
...
only expose functions starting with ares_.
16 years ago
Yang Tse
3a55bbebf1
Use build-time configured ares_socklen_t instead of socklen_t
16 years ago
Yang Tse
1509409fe1
Moved potential inclusion of system's malloc.h and memory.h header files to
...
setup_once.h. Inclusion of each header file is based on the definition of
NEED_MALLOC_H and NEED_MEMORY_H respectively.
16 years ago
Yang Tse
382dc0d719
s/u_long/unsigned long/
16 years ago
Yang Tse
9e0140f455
Do not halt compilation when using VS2008 to build a Windows 2000 target
16 years ago
Phil Blundell
3f7fc80ab5
* February 3 2009 (Phil Blundell)
...
- If the server returns garbage or nothing at all in response to an AAAA query,
go on and ask for A records anyway.
16 years ago
Daniel Stenberg
1ce8e6583e
- ares_gethostbyname() now accepts 'AF_UNSPEC' as a family for resolving
...
either AF_INET6 or AF_INET. It works by accepting any of the looksups in the
hosts file, and it resolves the AAAA field with a fallback to A.
16 years ago
Daniel Stenberg
28531dea2e
- ares.h no longer uses the HAVE_STRUCT_IN6_ADDR define check, but instead it
...
now declares the private struct ares_in6_addr for all systems instead of
relying on one possibly not present in the system.
16 years ago
Phil Blundell
977de8c778
- ares__send_query() now varies the retry timeout pseudo-randomly to avoid
...
packet storms when several queries were started at the same time.
16 years ago
Daniel Stenberg
8362245c42
- Phil Blundell added the internal function ares__expand_name_for_response()
...
that is now used by the ares_parse_*_reply() functions instead of the
ares_expand_name() simply to easier return ARES_EBADRESP for the cases where
the name expansion fails as in responses that really isn't expected.
16 years ago
Gisle Vanem
bb74632c8e
Fix for Win32 targets using Watt-32.
16 years ago
Daniel Stenberg
f61fa37f40
Gregor Jasny provided the patch that introduces ares_set_socket_callback(),
...
and I edited it to also get duped by ares_dup().
16 years ago
Daniel Stenberg
e61d4b9e21
Introduce ares_dup(3) and new thoughts about API/ABI and how to move forwards.
...
Also discussed on the ml.
16 years ago
Yang Tse
7e39e944ea
Gerald Combs fixed a bug in ares_parse_ptr_reply() which would cause a
...
buffer to shrink instead of expand if a reply contained 8 or more records.
16 years ago
Yang Tse
8781fb19f9
Brad Spencer provided changes to allow buildconf to work on OS X.
16 years ago
Yang Tse
aa1534eb20
In preparation for the upcomming IPv6 nameservers patch, the internal
...
ares_addr union is now changed into an internal struct which also holds
the address family.
16 years ago
Daniel Stenberg
8a6b51d560
- Brad Spencer brought the new function ares_gethostbyname_file() which simply
...
resolves a host name from the given file, using the regular hosts syntax.
16 years ago
Daniel Stenberg
1a1b4eb4f2
- Carlo Contavalli added support for the glibc "rotate" option, as documented
...
in man resolv.conf:
causes round robin selection of nameservers from among those listed. This
has the effect of spreading the query load among all listed servers, rather
than having all clients try the first listed server first every time.
You can enable it with ARES_OPT_ROTATE
16 years ago
Yang Tse
64c82d0853
Charles Hardin patch:
...
- handles the EINPROGRESS for UDP connects
- uses closesocket instead of close on some paths that were noticed
16 years ago
Daniel Stenberg
43daf6decd
Charles Hardin made adig support a regular numerical dotted IP address for the
...
-s option as well.
16 years ago
Yang Tse
e620425536
Sync up with reality
16 years ago
Yang Tse
e18952cc6f
Sync up with reality
16 years ago
Daniel Stenberg
d71fd1b305
Version 1.5.3
16 years ago