Yang Tse
476b795ae0
Mention --enable-symbol-hiding configure option
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
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
382dc0d719
s/u_long/unsigned long/
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
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
Daniel Stenberg
521fac69e9
start over on the 1.6.1 release...
16 years ago
Daniel Stenberg
70ff6e180a
add space
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
3b6b1979bf
updated with changes, preparing for a release soon
16 years ago
Yang Tse
e18952cc6f
Sync up with reality
16 years ago
Daniel Stenberg
4f33fdb183
we start over working towards 1.5.4
16 years ago
Yang Tse
2b838e85e7
George Neill's fix acountry sample application compilation failure.
17 years ago
Yang Tse
09d10cb5c5
Brad House's validation that DNS response address matches the request address
17 years ago
Daniel Stenberg
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.
17 years ago
Yang Tse
e09327a51a
Sync up with reality
17 years ago
Yang Tse
b95f5e5bed
Improved configure detection of number of arguments for getservbyport_r
17 years ago
Yang Tse
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.
17 years ago
Daniel Stenberg
5e74e48177
ares_gethostbyname() fallback from AAA to A records with CNAME present
17 years ago
Yang Tse
cd1f1d080c
fallback to gettimeofday when monotonic clock is unavailable at run-time
17 years ago
Yang Tse
4ccd0a85b1
fix pkg-config reporting of private libraries needed for static linking
17 years ago
Yang Tse
9191dc5c33
Brad House fixed a missing header file inclusion in adig sample program
17 years ago
Yang Tse
e6b86905dc
sync with reality
17 years ago
Yang Tse
0848b4fdaa
Use monotonic time source if available.
17 years ago
Yang Tse
fc4704b4d8
Improved parsing of resolver configuration files
17 years ago
Daniel Stenberg
2e31cc0be4
and we start on 1.5.2!
17 years ago
Daniel Stenberg
f4be2e0cbb
oops
17 years ago
Daniel Stenberg
72a245668f
start working on 1.5.1 now
17 years ago
Daniel Stenberg
178f8b401f
this is what 1.5.0 is
17 years ago
Daniel Stenberg
6295b70a7d
start working on 1.4.1
18 years ago
Daniel Stenberg
93bb7ef1ea
1.4.0 preps
18 years ago