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.
2010-01-28 22:03:48 +00:00
92dcb407d6
Mention last changes
2009-12-29 02:32:12 +00:00
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.
2009-12-21 16:55:39 +00:00
df279b133c
start working on 1.7.1
2009-11-30 22:39:04 +00:00
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.
2009-11-26 01:21:21 +00:00
dc4528e672
Mention last changes
2009-11-23 11:35:53 +00:00
96d3205622
- Mention other recent changes
2009-11-23 01:54:55 +00:00
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.
2009-11-23 01:24:17 +00:00
497afa9acb
- Jakub Hrozek fixed more function prototypes in man pages to sync them
...
with the ones declared in ares.h
2009-11-23 00:57:50 +00:00
476b795ae0
Mention --enable-symbol-hiding configure option
2009-10-31 12:51:49 +00:00
9cbd5ed034
Jakub Hrozek added ares_parse_txt_reply() for TXT parsing
2009-10-29 08:59:40 +00:00
b53526b1a9
John Engelhart noticed an unreleased problem relative to a duplicate
...
ARES_ECANCELLED error code value and missing error code description.
2009-10-23 15:49:05 +00:00
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.
2009-10-07 18:47:04 +00:00
a5b204dd5b
- Jakub Hrozek added ares_parse_srv_reply() for SRV parsing
2009-09-04 21:56:14 +00:00
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.
2009-08-03 11:51:06 +00:00
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.
2009-08-03 11:29:17 +00:00
84aa2f8a5d
c-ares's --enable-curldebug configure option decoupled from c-ares's --enable-debug
2009-05-26 14:50:45 +00:00
83cb810b75
Mention last changes
2009-05-20 13:49:43 +00:00
ee97c69362
- Gregor Jasny made c-ares link with libtool 's -export-symbols-regex option to
...
only expose functions starting with ares_.
2009-05-11 13:53:26 +00:00
3a55bbebf1
Use build-time configured ares_socklen_t instead of socklen_t
2009-05-02 02:36:47 +00:00
382dc0d719
s/u_long/unsigned long/
2009-03-11 05:09:03 +00:00
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.
2009-01-31 20:17:41 +00:00
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.
2009-01-14 13:08:50 +00:00
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.
2009-01-11 13:49:13 +00:00
521fac69e9
start over on the 1.6.1 release...
2008-12-09 22:41:36 +00:00
70ff6e180a
add space
2008-12-09 22:30:59 +00:00
f61fa37f40
Gregor Jasny provided the patch that introduces ares_set_socket_callback(),
...
and I edited it to also get duped by ares_dup().
2008-12-04 12:53:03 +00:00
3b6b1979bf
updated with changes, preparing for a release soon
2008-11-28 15:44:01 +00:00
e18952cc6f
Sync up with reality
2008-09-17 01:33:43 +00:00
4f33fdb183
we start over working towards 1.5.4
2008-08-29 08:55:02 +00:00
2b838e85e7
George Neill's fix acountry sample application compilation failure.
2008-08-25 03:44:43 +00:00
09d10cb5c5
Brad House's validation that DNS response address matches the request address
2008-08-25 03:34:50 +00:00
3f1bde7664
- Fix by Tofu Linden:
...
The symptom:
* Users (usually, but not always) on 2-Wire routers and the Comcast service
and a wired connection to their router would find that the second and
subsequent DNS lookups from fresh processes using c-ares to resolve the same
address would cause the process to never see a reply (it keeps polling for
around 1m15s before giving up).
The repro:
* On such a machine (and yeah, it took us a lot of QA to find the systems
that reproduce such a specific problem!), do 'ahost www.secondlife.com',
then do it again. The first process's lookup will work, subsequent lookups
will time-out and fail.
The cause:
* init_id_key() was calling randomize_key() *before* it initialized
key->state, meaning that the randomness generated by randomize_key() is
immediately overwritten with deterministic values. (/dev/urandom was also
being read incorrectly in the c-ares version we were using, but this was
fixed in a later version.)
* This makes the stream of generated query-IDs from any new c-ares process
be an identical and predictable sequence of IDs.
* This makes the 2-Wire's default built-in DNS server detect these queries
as probable-duplicates and (erroneously) not respond at all.
2008-08-04 20:23:12 +00:00
e09327a51a
Sync up with reality
2008-08-01 03:10:54 +00:00
b95f5e5bed
Improved configure detection of number of arguments for getservbyport_r
2008-07-16 12:26:09 +00:00
e5e2cd5659
Allow --enable-largefile and --disable-largefile configurations.
...
Configure process no longer needs nor checks size of curl_off_t.
Library will now be built with _REENTRANT symbol defined.
2008-07-15 16:43:39 +00:00
5e74e48177
ares_gethostbyname() fallback from AAA to A records with CNAME present
2008-07-03 11:34:34 +00:00
cd1f1d080c
fallback to gettimeofday when monotonic clock is unavailable at run-time
2008-07-02 03:04:56 +00:00
4ccd0a85b1
fix pkg-config reporting of private libraries needed for static linking
2008-06-09 01:06:48 +00:00
9191dc5c33
Brad House fixed a missing header file inclusion in adig sample program
2008-05-30 15:26:42 +00:00
e6b86905dc
sync with reality
2008-05-15 10:04:15 +00:00
0848b4fdaa
Use monotonic time source if available.
2008-05-09 16:30:24 +00:00
fc4704b4d8
Improved parsing of resolver configuration files
2008-05-05 17:48:25 +00:00
2e31cc0be4
and we start on 1.5.2!
2007-11-21 10:16:44 +00:00
f4be2e0cbb
oops
2007-11-21 10:12:06 +00:00
72a245668f
start working on 1.5.1 now
2007-11-21 09:31:56 +00:00
178f8b401f
this is what 1.5.0 is
2007-11-21 09:24:03 +00:00
6295b70a7d
start working on 1.4.1
2007-06-08 09:01:33 +00:00
93bb7ef1ea
1.4.0 preps
2007-06-08 08:46:28 +00:00