Daniel Stenberg
83093ac450
ares_create_query.3: mention when this is added
12 years ago
hpopescu@ixiacom.com
90364defb0
Added new feature (rfc2671)
12 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
Yang Tse
4980cc99e2
ares_init.c: get_iphlpapi_dns_info() refactoring
13 years ago
Guenter Knauf
8b79584e01
Kill some more compiler warnings.
13 years ago
Guenter Knauf
27a478c7a3
Kill compiler warning about unused var.
13 years ago
Guenter Knauf
58e62c5879
Fixed my last commit: wrong preprocessor directive.
13 years ago
Guenter Knauf
7d3f341156
Check for __ANDROID__ in addition to ANDROID macro.
13 years ago
Guenter Knauf
995fa144d9
Check for __ANDROID__ in addition to ANDROID macro.
...
Posted to c-ares list by Wayne.
13 years ago
Guenter Knauf
0d6ef42b5f
Fix for Android to disable useless arpa/nameser.h.
13 years ago
Guenter Knauf
4ef145cede
Fix for Android to include sys/select.h for fd_set.
13 years ago
Yang Tse
41f8ff5070
ares_data.c: some NAPTR related fixes
13 years ago
Daniel Stenberg
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
13 years ago
Daniel Stenberg
1c26242c52
white space cleanup
...
- Keep code within 80 columns
- Removed funny spaces after open paren and before closing paren
13 years ago