1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-10-05 14:59:30 +00:00
Commit Graph

1442 Commits

Author SHA1 Message Date
b743f875d3 RELEASE-NOTES: 1.9.1 coming up cares-1_9_1 2012-06-18 22:23:58 +02:00
3b649328be ares_version.h: next version is 1.9.0 cares-1_9_0 2012-06-16 23:17:57 +02:00
6e44d64429 ares_data.h: ARES_DATATYPE_SOA_REPLY is added in 1.9.0 2012-06-16 23:12:04 +02:00
cc067c21fe RELEASE-NOTES: synced with 979bf951d
Next release deemed to become 1.9.0 due to the new function
2012-06-15 13:40:37 +02:00
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
2012-06-15 13:32:48 +02:00
38b69b7269 Kill compiler warning 2012-06-14 21:19:48 +02:00
1972aad19e Fix libcares.pc generation for static MingW* cross builds 2012-05-25 23:59:28 +02:00
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.
2012-05-21 22:40:45 +02:00
7ec5e8e656 version: start working on 1.8.1-DEV 2012-04-28 11:45:01 +02:00
f037316e4b RELEASE-NOTES: call next 1.8 instead
Since we added a function, let's use a stricter bumping scheme
cares-1_8_0
2012-04-27 22:04:41 +02:00
88d6dfb3d4 INSTALL: some adjustments 2012-04-25 17:56:00 +02:00
d9ff559036 GIT-INFO: mention buildconf 2012-04-25 17:00:09 +02:00
82a1c1c989 INSTALL: remove more sections that don't apply to c-ares 2012-04-25 16:38:18 +02:00
38a9933a6d ares_timeout.c: fix compiler warning 2012-04-25 15:49:26 +02:00
f7b66af200 Makefile.m32: fix mingw32 build
* add . to include path so ares_build.h is picked up
* make ar configurable to ease cross-compiling
2012-04-25 14:42:21 +02:00
031040f893 RELEASE-NOTES: added what's happened since 1.7.5 2012-04-22 17:29:34 +02:00
28354d9ad2 Updated copyright year. 2012-04-22 13:09:39 +02:00
7ce8fe781a ares_init.c: Further refactoring of Windows system's DNS fetching code 2012-04-21 14:17:44 +02:00
05346c25cb Android: small changes to dns property part.
Prefix prop vars; kill var; use DNS_PROP_NAME_PREFIX macro.
2012-04-20 20:42:41 +02:00
b3afe9cbde Handle CNAME-only in ares_parse_aaaa_reply().
posted to the c-ares list by Peter Griess <pg@std.in>.
2012-04-19 19:27:02 +02:00
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>
2012-04-19 19:16:27 +02:00
80de4a7295 Added INSTALL so it gets into tarballs. 2012-04-19 10:05:03 +02:00
5e80852e4c Added some more ifdefs to silent compiler warnings. 2012-04-17 16:57:40 +02:00
017132bf43 INSTALL: remove a non c-ares section 2012-04-17 13:53:08 +02:00
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.
2012-04-17 13:30:02 +02:00
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.
2012-04-17 13:30:01 +02:00
cb71b6bd5a configure: NATIVE_WINDOWS no longer defined in config file 2012-04-17 13:30:00 +02:00
f6b4cacfae cares-compilers.m4: double underscore decoration for visibility attribute 2012-04-17 13:30:00 +02:00
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.
2012-04-17 13:29:59 +02:00
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.
2012-04-17 13:29:58 +02:00
7e2f70a08c Added INSTALL file adapted from libcurl.
Not yet ready, and needs further edits.
2012-04-17 09:35:41 +02:00
4980cc99e2 ares_init.c: get_iphlpapi_dns_info() refactoring 2012-04-16 22:10:23 +02:00
8b79584e01 Kill some more compiler warnings. 2012-04-16 15:33:14 +02:00
27a478c7a3 Kill compiler warning about unused var. 2012-04-16 15:24:14 +02:00
58e62c5879 Fixed my last commit: wrong preprocessor directive. 2012-04-16 11:27:16 +02:00
7d3f341156 Check for __ANDROID__ in addition to ANDROID macro. 2012-04-16 10:34:05 +02:00
995fa144d9 Check for __ANDROID__ in addition to ANDROID macro.
Posted to c-ares list by Wayne.
2012-04-16 10:19:07 +02:00
0d6ef42b5f Fix for Android to disable useless arpa/nameser.h. 2012-04-14 13:30:29 +02:00
4ef145cede Fix for Android to include sys/select.h for fd_set. 2012-04-14 12:27:08 +02:00
41f8ff5070 ares_data.c: some NAPTR related fixes 2012-03-17 02:45:03 +01:00
506d586276 port numbers: convert them to network order!
When the config options ARES_OPT_UDP_PORT or ARES_OPT_TCP_PORT are used,
make sure to convert them to network byte order!

Bug: http://c-ares.haxx.se/mail/c-ares-archive-2012-02/0004.shtml
2012-03-16 16:06:03 +01:00
1c26242c52 white space cleanup
- Keep code within 80 columns

- Removed funny spaces after open paren and before closing paren
2012-02-25 22:36:50 +01:00
73dc26a9fc get_iphlpapi_dns_info: fix buffer overrun
I experienced a buffer overrun exception in c-ares on Windows and
tracked it down to be an error in the calculation of the 'left' variable
in get_iphlpapi_dns_info().

I changed the variable type of 'left' to a _signed_ type because of the
subtraction arithmetic; not sure if a long is the best choice
2012-02-25 22:32:24 +01:00
90a150f045 Merge pull request #7 from saghul/naptr
Added support for parsing NAPTR records
2012-02-24 13:18:26 -08:00
6bab0393c4 Added support for parsing NAPTR records 2012-02-23 23:15:07 +01:00
4ab65461b6 ares_init.c: fix compiler warning on winsock builds 2012-01-19 20:20:56 +01:00
f1a1df1e6c configure: libtool 1.5 tweaks 2011-12-20 14:02:57 +01:00
6ae9e71df4 ares_timeout.3: fix the NAME section
It was clearly a copy n' paste error
2011-12-19 22:58:22 +01:00
f394cd55c8 configure - m4: make CURL_CHECK_DEF ignore leading whitespace on symbol def
When using Sun C compiler the preprocessor somehow inserts an extra space
in front of replaced symbol, breaking CURL_CHECK_DEF macro. To workaround
this, macro CURL_CHECK_DEF now ignores all leading whitespace in front of
symbol substitution result.
2011-09-27 21:59:27 +02:00
3d84eb3bbc ares_init.c: fix segfault triggered in ares_init_options() upon previous
failure of init_by_defaults() and incomplete cleanup there.
2011-09-07 00:30:53 +02:00