Daniel Stenberg
7829b79768
check for strings.h in configure and use it for the strcasecmp() proto
17 years ago
Yang Tse
c73ff0391f
fix compiler warning: local variable may be used without having been initialized
17 years ago
Daniel Stenberg
ba5bd647f9
fix next_lookup() to continue searching even if c-ares failed to load the
...
/etc/hosts file, pointed out by Erik Kline:
http://daniel.haxx.se/projects/c-ares/mail/c-ares-archive-2007-11/0027.shtml
17 years ago
Steinar H. Gunderson
d9dd239771
When looking up in DNS and then in the hosts file, return the error code from DNS if both fail, instead of returning the error code from the hosts file, as today. Patch from the Google tree.
17 years ago
Steinar H. Gunderson
b4bdb6d4d7
Return TTL data from ares_parse_{a,aaaa}_reply, if the user is so inclined. Patch from the Google tree.
17 years ago
Daniel Stenberg
338d59bd0b
Fixed the problem where next_lookup would use 'status' uninitialized. Now
...
it gets passed the initial value as an argument.
17 years ago
Steinar H. Gunderson
879f89a989
Fix a memory leak that I recently inadvertedly introduced.
17 years ago
Steinar H. Gunderson
60519063ea
Use ISDIGIT instead of isdigit; fixes a gcc warning.
17 years ago
Steinar H. Gunderson
cccd9a58cd
Be stricter about what's a valid IP address in fake_hostent. (Patch from the Google tree.)
17 years ago
Steinar H. Gunderson
3b5e49995f
Unrevert previous 'missing' hunks. They were missing since the patch is still in for review :-)
17 years ago
Steinar H. Gunderson
f785dbd9c4
Yet more missing hunks... Nggh.
17 years ago
Steinar H. Gunderson
50ba81cd23
Make the query callbacks return the number of timeouts that happened during the execution of a query, and update documentation accordingly. (Patch from the Google tree.)
17 years ago
Daniel Stenberg
9089e0c26c
Revered Ashish Sharma's multiple entries patch, as it caused memory madness
18 years ago
Daniel Stenberg
4e27354b82
Ashish Sharma provided a patch for supporting multiple entries in the
...
/etc/hosts file. Patch edited for coding style and functionality by me
(Daniel).
18 years ago
Gisle Vanem
a627160041
Removed inclusion of <sys/types.h> in .c-files
...
since it's already included through "setup.h".
18 years ago
Yang Tse
679a675660
add debug messages for initialization failures
18 years ago
Yang Tse
3c90d9d6d3
fix compiler warning "discards qualifiers from pointer target type" in debug builds
18 years ago
Gisle Vanem
415e2ae109
Fixed comment.
19 years ago
Gisle Vanem
0a83c1e416
2nd try adding CVS id.
19 years ago
Gisle Vanem
f6e7395ca0
Added CVS id.
19 years ago
Daniel Stenberg
b117fef909
detabified
20 years ago
Daniel Stenberg
fce7f4a6f2
Fixed for Mac OS X builds based on excellent feedback from Heinz Stockinger.
20 years ago
Dominick Meglio
7012fc65d9
Made sortlist support IPv6 (this can probably use some testing)
20 years ago
Dominick Meglio
61f1399c2f
Made sortlist support CIDR matching for IPv4
20 years ago
Dominick Meglio
00b7a550b5
Added preliminary IPv6 support to ares_gethostbyname
20 years ago
Dominick Meglio
29d71bd499
Made ares_gethostbyaddr support IPv6 by specifying AF_INET6 as the family
20 years ago
Daniel Stenberg
b41effd113
Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac OS
...
X.
20 years ago
Daniel Stenberg
61aec67fe5
the same fix here too, typecast to prevent win32 compiler warning
20 years ago
Daniel Stenberg
994f16d733
untabified
20 years ago
Gisle Vanem
6c64cc8669
Replace IsNT with IS_NT().
...
Return correct timeval in windows_port.c.
Squelch gcc warnings:
use 'ares_socket_t' in ares_fds.c.
Don't cast a 'lvalue' in ares_init.c.
20 years ago
Daniel Stenberg
3e748f4b50
removed tabs and trailing whitespace from source
20 years ago
Daniel Stenberg
2bf866b0ce
Dominick Meglio host file path discovery patch for windows
20 years ago
Gisle Vanem
0f51a17667
More patches for Watt-32 on Win32; don't include "nameser.h".
21 years ago
Daniel Stenberg
d5f3636a52
- Fixed a few variable return types for some system calls. Made configure
...
check for ssize_t to make it possible to use that when receiving the send()
error code. This is necessary to prevent compiler warnings on some systems.
- Made configure create config.h, and all source files now include setup.h that
might include the proper config.h (or a handicrafted alternative).
- Switched to 'ares_socket_t' type for sockets in ares, since Windows don't
use 'int' for that.
- automake-ified and libool-ified c-ares. Now it builds libcares as a shared
lib on most platforms if wanted. (This bloated the size of the release
archive with another 200K!)
- Makefile.am now uses Makefile.inc for the c sources, h headers and man
pages, to make it easier for other makefiles to use the exact same set of
files.
- Adjusted 'maketgz' to use the new automake magic when building distribution
archives.
21 years ago
Daniel Stenberg
e7293e0779
djgpp fixes by Gisle
21 years ago
Daniel Stenberg
3d0a7c00df
remove rcsid stuff from c files, it serves no useful purpose
21 years ago
Daniel Stenberg
5e847a14bd
ares 1.1.1 with collected applied patches
21 years ago