Yang Tse
a1035276c1
Header inclusion clean-up
...
Remove header inclusions already done in setup_once.h
12 years ago
Yang Tse
bceb40095a
setup_once.h: HP-UX specific TRUE and FALSE definitions
...
Some HP-UX system headers require TRUE defined to 1 and FALSE to 0.
12 years ago
Yang Tse
98b52964cf
ares_timeout.c: fix compiler warning
12 years ago
Yang Tse
93a09eabeb
ares_create_query.c: IRIX compilation fix
12 years ago
Yang Tse
a5ce39391c
c-ares/nameser.h: add some T_* defines for ns_t_* values
12 years ago
Daniel Stenberg
1e4f2d28fc
Revert "ares_parse_aaaa_reply: fix memory leak"
...
This reverts commit 50f25d8a4b
.
12 years ago
Daniel Stenberg
50f25d8a4b
ares_parse_aaaa_reply: fix memory leak
...
an allocated buffer was not freed in the successful case.
12 years ago
Gisle Vanem
805c736e36
adig: perror() doesn't work for socket errors on windows
...
... so print the SOCKERRNO instead
12 years ago
Daniel Stenberg
65ac7e706d
get_DNS_AdaptersAddresses: fix IPv6 parsing
...
Use of the wrong define made the function not parse IPv6 addresses
properly.
Bug: http://c-ares.haxx.se/mail/c-ares-archive-2012-06/0028.shtml
Reported by: Saúl Ibarra Corretgé
12 years ago
Daniel Stenberg
2b897074cb
version: bumped to 1.10.0
...
Due to the newly added function: ares_create_query()
12 years ago
Daniel Stenberg
a1314e492d
AUTHORS: synced with 83093ac450
...
Added 21 authors since this document was last updated
12 years ago
Daniel Stenberg
83093ac450
ares_create_query.3: mention when this is added
13 years ago
hpopescu@ixiacom.com
90364defb0
Added new feature (rfc2671)
13 years ago
Daniel Stenberg
e447bc5c60
code police: fix indents, < 80 columns, reflowed comments
13 years ago
Guenter Knauf
8283fb15e6
Cleaned up version awk script.
13 years ago
Gisle Vanem
4d91235900
read_udp_packets: bail out loop on bad sockets
...
I can see that recvfrom() in ares_process.c many times is called with
'udp_socket' == ARES_SOCKET_BAD. The code takes care not to call
recv/recvfrom with ARES_SOCKET_BAD in the outer-loop. So should the
inner-loop.
13 years ago
Yang Tse
54751f4d33
cares-compilers.m4: remove -Wstrict-aliasing=3 from clang
...
Currently it is unknown if there is any version of clang that
actually supports -Wstrict-aliasing. What is known is that there
are several that don't support it.
13 years ago
Yang Tse
bc0c3c62cc
cares-compilers.m4: -Wstrict-aliasing=3 for warning enabled gcc and clang builds
13 years ago
Daniel Stenberg
a85ba35816
version: work towards 1.9.2 (at least)
13 years ago
Daniel Stenberg
b743f875d3
RELEASE-NOTES: 1.9.1 coming up
13 years ago
Daniel Stenberg
3b649328be
ares_version.h: next version is 1.9.0
13 years ago
Marko Kreen
6e44d64429
ares_data.h: ARES_DATATYPE_SOA_REPLY is added in 1.9.0
13 years ago
Daniel Stenberg
cc067c21fe
RELEASE-NOTES: synced with 979bf951d
...
Next release deemed to become 1.9.0 due to the new function
13 years ago
Marko Kreen
979bf951d3
SOA parser added
...
I need to do SOA queries, so here is a parser for them.
- ares_soa_reply: new struct
- ares_malloc_data/ares_free_soa: ARES_DATATYPE_SOA_REPLY
- ares_parse_soa_reply: actual function
13 years ago
Yang Tse
38b69b7269
Kill compiler warning
13 years ago
Yang Tse
1972aad19e
Fix libcares.pc generation for static MingW* cross builds
13 years ago
Nick Alcock
9bd38a4a6e
Fix UDP and TCP port byte order in saved options.
...
The UDP and TCP port are stored in network byte order in the
ares_channeldata, but are passed in to ares_init_options() in host byte
order. Thus we must return them from ares_save_options() in host byte
order too, or a duplicated channel will convert them again, leading to a
nonfunctional channel and a mysterious connection refused error from
ares_gethostbyname(). This breaks ares_dup(), thus the curl easy API
when c-ares is used by curl, and thus all the curl easy API's users.
13 years ago
Yang Tse
7ec5e8e656
version: start working on 1.8.1-DEV
13 years ago
Daniel Stenberg
f037316e4b
RELEASE-NOTES: call next 1.8 instead
...
Since we added a function, let's use a stricter bumping scheme
13 years ago
Yang Tse
88d6dfb3d4
INSTALL: some adjustments
13 years ago
Daniel Stenberg
d9ff559036
GIT-INFO: mention buildconf
13 years ago
Yang Tse
82a1c1c989
INSTALL: remove more sections that don't apply to c-ares
13 years ago
Yang Tse
38a9933a6d
ares_timeout.c: fix compiler warning
13 years ago
Ben Noordhuis
f7b66af200
Makefile.m32: fix mingw32 build
...
* add . to include path so ares_build.h is picked up
* make ar configurable to ease cross-compiling
13 years ago
Daniel Stenberg
031040f893
RELEASE-NOTES: added what's happened since 1.7.5
13 years ago
Guenter Knauf
28354d9ad2
Updated copyright year.
13 years ago
Yang Tse
7ce8fe781a
ares_init.c: Further refactoring of Windows system's DNS fetching code
13 years ago
Guenter Knauf
05346c25cb
Android: small changes to dns property part.
...
Prefix prop vars; kill var; use DNS_PROP_NAME_PREFIX macro.
13 years ago
Guenter Knauf
b3afe9cbde
Handle CNAME-only in ares_parse_aaaa_reply().
...
posted to the c-ares list by Peter Griess <pg@std.in>.
13 years ago
Guenter Knauf
2c67ce6459
Add support for multiple DNS servers on Android.
...
Before, c-ares always used the first DNS server on Android, causing
network problems if this DNS server was not available.
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
13 years ago
Guenter Knauf
80de4a7295
Added INSTALL so it gets into tarballs.
13 years ago
Guenter Knauf
5e80852e4c
Added some more ifdefs to silent compiler warnings.
13 years ago
Yang Tse
017132bf43
INSTALL: remove a non c-ares section
13 years ago
Yang Tse
2c77c33daa
cares-compilers.m4: -Wno-pedantic-ms-format for Windows gcc 4.5 builds
...
When building a Windows target with gcc 4.5 or newer and strict compiler
warnings enabled use -Wno-pedantic-ms-format in addition to other flags.
13 years ago
Yang Tse
81db5a00e4
setup_once.h: tighten requirements for stdbool.h header inclusion
...
Include stdbool.h only when it is available and configure is capable of
detecting a proper 'bool' data type when the header is included.
13 years ago
Yang Tse
cb71b6bd5a
configure: NATIVE_WINDOWS no longer defined in config file
13 years ago
Yang Tse
f6b4cacfae
cares-compilers.m4: double underscore decoration for visibility attribute
13 years ago
Yang Tse
fc2c91c206
build adjustments: CARES_SYMBOL_HIDING no longer defined in config files
...
configure script now provides conditional definitions for Makefile.am
that result in CARES_SYMBOL_HIDING being defined by resulting makefiles
when appropriate.
13 years ago
Yang Tse
41191cdd54
configure: Windows cross-compilation fixes
...
CARES_BUILDING_LIBRARY and CARES_STATICLIB no longer defined in ares_config.h,
configure will generate appropriate conditionals so that mentioned symbols
get defined and used in Makefile derived from Makefile.am at compilation time.
13 years ago
Guenter Knauf
7e2f70a08c
Added INSTALL file adapted from libcurl.
...
Not yet ready, and needs further edits.
13 years ago