Patrik Thunstrom
e9386cfd9f
adig: fix NAPTR parsing
...
I ran across a small "issue" in your adig example.
It is simply the last part of the NAPTR record, the replacement element,
which is not a string, as currently handled in adig, but a domain name.
14 years ago
Daniel Stenberg
6cc3521ec9
ares_save_options: assignments instead of memcpy
14 years ago
Daniel Stenberg
803e2a28b7
init_by_options: don't copy an empty sortlist
...
If there aren't any sort items to copy, don't bother. Without this
little precaution it would do a malloc(0) which causes undefined
behaviors and is frowned upon by curl's memdebug-system.
14 years ago
Guenter Knauf
679c1032cb
Minor Watcom makefile tweaks.
14 years ago
Mike Crowe
fa0dd472cd
Fix lookup with HOSTALIASES set.
...
ares__read_line returns ARES_EOF when it reaches the end of the
file. This will happen every time when reading to the end of the
HOSTALIASES file. Unfortunately single_domain treats this error as
being fatal.
Signed-off-by: Mike Crowe <mac@mcrowe.com>
14 years ago
Ben Greear
293cd31700
Add missing break that caused get_ares_servers to fail.
...
Reported-by: Ning Dong <flintning@163.com>
Signed-off-by: Ben Greear <greearb@candelatech.com>
14 years ago
Yang Tse
e43e69718f
configure: werror related adjustments
15 years ago
Guenter Knauf
5e7a4dc5d7
Added copyright string to ares_version.h and make use of it in other files.
15 years ago
Guenter Knauf
e6b38cdbd2
Block created ares_build.h for NetWare to avoid usage from other platforms.
15 years ago
Guenter Knauf
d8ed817b99
Fix to overwrite default libname.
15 years ago
Guenter Knauf
b33f331a4f
Some more Watcom makefile massage ...
15 years ago
Guenter Knauf
17d4e513d4
Some more Watcom makefile massage ...
15 years ago
Ben Greear
9912637d32
sock-addr-storage: Detect and deal with lack of .ss_family member.
...
AIX, at least, does not have sockaddr_storage.ss_family member.
Detect this in the configure logic and use proper #ifdefs in the
ares_process logic.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Tested-by: Tor Arntsen <tor@spacetec.no>
15 years ago
Guenter Knauf
a00e234001
Added Watcom makefile based on libcurl's Makefile.Watcom.
15 years ago
Ben Greear
3392a50ea3
typo: Fix compile bug for platforms that don't have sockaddr_storage.
...
Bug was introduced by me in previous commit.
Signed-off-by: Ben Greear <greearb@candelatech.com>
15 years ago
Ben Greear
07bc7ea795
Fix aliasing warning in gcc 4.4.4 (at least).
...
Should be no functional change, though the code gets a bit
ugglier.
Signed-off-by: Ben Greear <greearb@candelatech.com>
15 years ago
Daniel Stenberg
cef3a4c7aa
ares_set_servers_csv: use ISDIGIT
...
The IS*() set of macros are preferred to the regular is*() functions as
they help us avoid the most common pitfalls.
15 years ago
Ben Greear
8d33804971
cast arg to isdigit to int
...
Looks like it might silence a warning on Netware build.
Signed-off-by: Ben Greear <greearb@candelatech.com>
15 years ago
Ben Greear
f575aea364
remove all uses of uint32_t
...
Previous fix forgot a few.
Signed-off-by: Ben Greear <greearb@candelatech.com>
15 years ago
Ben Greear
03c1378e84
fix signed v/s unsigned casts warning in ares_gethostbyaddr.c
...
Signed-off-by: Ben Greear <greearb@candelatech.com>
15 years ago
Ben Greear
1ac83339e3
local-bind-fixup: Fix inet_pton warning.
...
Conditionally include <arpa/inet.h> for inet_pton
headers.
Signed-off-by: Ben Greear <greearb@candelatech.com>
15 years ago
Ben Greear
45557a138e
build: Enable compiling with -Werror.
...
This helps find compile warnings because they simply break
the build.
To use:
./configure --enable-warnings --enable-werror
Signed-off-by: Ben Greear <greearb@candelatech.com>
15 years ago
Ben Greear
3e33e2c2ba
ipv6: Fix some build issues related to the local-bind feature.
...
Signed-off-by: Ben Greear <greearb@candelatech.com>
15 years ago
Guenter Knauf
28ff9336d5
Replaced uint32_t with unsigned int to fix broken builds on a couple of platforms.
15 years ago
Ben Greear
e3b04e5a47
local-bind: Support binding to local interface/IPs
...
Add 3 new functions to set the local binding for the out-going
socket connection, and add ares_set_servers_csv() to set a
list of servers at once as a comma-separated string.
Signed-off-by: Ben Greear <greearb@candelatech.com>
15 years ago
Daniel Stenberg
45a09b7efb
version: now start on 1.7.4
15 years ago
Andrew C. Morrow
d6b8698941
fix memory leak in ares_getnameinfo
15 years ago
Daniel Stenberg
954ec10e5a
changelogs: updated for 1.7.3
15 years ago
BogDan Vatra
b13c6552f8
init: allow c-ares to work on Android OS
15 years ago
Daniel Stenberg
359936ceca
changelog: fill in the 1.7.2 changes
15 years ago
Daniel Stenberg
955038ea68
added another pdf to ignore
15 years ago
Yang Tse
5209cf03a1
add ares_parse_mx_reply.c to VS dsp file
15 years ago
Daniel Stenberg
9cb25ea5f7
tarball: add $(CSOURCES) $(HHEADERS) to EXTRA_DIST
...
It's not clear to me why we need this, but we apparently may
otherwise not get all files bundled in the dist tarball.
15 years ago
Daniel Stenberg
50f99d46cc
version: start working on 1.7.3
15 years ago
Daniel Stenberg
890a143722
RELEASE-NOTES: 1.7.2 details added
15 years ago
Jakub Hrozek
125b1a8619
ares_init: Last, not first instance of domain or search should win
15 years ago
Daniel Stenberg
0e8dc6f18e
style: make code less than 80 columns wide
15 years ago
Tor Arntsen
cd59ae213f
improve alternative definition of bool to use enum instead of unsigned char
15 years ago
Yang Tse
be68a8ed0d
fix VS2010 compiler warnings
15 years ago
Jérémy Lal
63918fca76
added ares_parse_mx_reply
15 years ago
Daniel Stenberg
f28874d323
repair the file mode
15 years ago
Daniel Stenberg
63627fa5ab
remove all $Id$ lines
15 years ago
Daniel Stenberg
cd6b2b8659
remove all .cvsignore files
15 years ago
Daniel Stenberg
6e0ab38229
spell fix
...
reported by Gregor Jasny on the mailing list
15 years ago
Peter Pentchev
a83d892bb2
Fix a couple of typos and grammar nits.
15 years ago
Daniel Stenberg
5e22223332
ignore the GPG signature files too
15 years ago
Daniel Stenberg
e965d83c78
start the journey towards 1.7.2
15 years ago
Daniel Stenberg
7403f443ac
no longer CVS tagging
15 years ago
Daniel Stenberg
36e2f2b54f
ignore generated PDFs
15 years ago
Daniel Stenberg
5923ba2a53
1.7.1
15 years ago