Yang Tse
|
137ef36757
avoid use of alloca()
|
15 gadi atpakaļ |
Yang Tse
|
9770899a4b
Moved potential inclusion of system's malloc.h and memory.h header files to
|
15 gadi atpakaļ |
Daniel Stenberg
|
e5b0533dab
Gregor Jasny provided the patch that introduces ares_set_socket_callback(),
|
16 gadi atpakaļ |
Daniel Stenberg
|
dd3594c6b3
Introduce ares_dup(3) and new thoughts about API/ABI and how to move forwards.
|
16 gadi atpakaļ |
Daniel Stenberg
|
b062212e55
minor indent fix
|
16 gadi atpakaļ |
Daniel Stenberg
|
39eb96e9ff
Convert the public config struct to the same binary size/construct as in the
|
16 gadi atpakaļ |
Dan Fandrich
|
e4dabef0c7
Make use of gethostname() conditional on it being available
|
16 gadi atpakaļ |
Yang Tse
|
3b0c5ae467
In preparation for the upcomming IPv6 nameservers patch, the internal
|
16 gadi atpakaļ |
Daniel Stenberg
|
c97b66287c
use unsigned short better intead of mixing with ints to prevent compiler
|
16 gadi atpakaļ |
Daniel Stenberg
|
3e3d10824f
- Carlo Contavalli added support for the glibc "rotate" option, as documented
|
16 gadi atpakaļ |
Yang Tse
|
39de6c784c
adjust inclusion of "nameser.h"
|
16 gadi atpakaļ |
Yang Tse
|
975c171d5a
code cleanup
|
16 gadi atpakaļ |
Yang Tse
|
db80e18308
include header file only when available
|
16 gadi atpakaļ |
Yang Tse
|
a37cc6cb08
move inclusion of ares_private.h last
|
16 gadi atpakaļ |
Yang Tse
|
59e378f48f
remove unnecessary typecasting of malloc()
|
16 gadi atpakaļ |
Daniel Stenberg
|
931fc45f05
- Fix by Tofu Linden:
|
16 gadi atpakaļ |
Daniel Stenberg
|
67f139e016
- As was pointed out to me by Andreas Schuldei, the MAXHOSTNAMELEN define is
|
16 gadi atpakaļ |
Yang Tse
|
cfc1d037ff
use same time source for timeout initialization and processing
|
16 gadi atpakaļ |
Daniel Stenberg
|
76c251513e
- Introducing millisecond resolution support for the timeout option. See
|
16 gadi atpakaļ |
Yang Tse
|
a60c9ef88e
Improved parsing of resolver configuration files
|
16 gadi atpakaļ |
Daniel Stenberg
|
b50a96982e
Eino Tuominen improved the code when a file is used to seed the randomizer
|
16 gadi atpakaļ |
Gunter Knauf
|
f614fe4946
removed dependency on gettimeofday() since we use only 1 sec resolution here.
|
17 gadi atpakaļ |
Yang Tse
|
5c8fc7dce9
Fix compiler warning: conversion from "int" to "unsigned short" may lose significant bits
|
17 gadi atpakaļ |
Yang Tse
|
ee19b44fe0
Renamed a variable to avoid shadowing a global declaration
|
17 gadi atpakaļ |
Yang Tse
|
8cfb0e26bb
Fix compiler warning: conversion from "int" to "unsigned char"
|
17 gadi atpakaļ |
Yang Tse
|
94162d62ac
Avoid a segfault when generating a DNS "Transaction ID" in internal
|
17 gadi atpakaļ |
Steinar H. Gunderson
|
23f5d145ec
Previously, processing a large batch of timeouts was O(n^2) in the number of
|
17 gadi atpakaļ |
Steinar H. Gunderson
|
08a70d117c
Support a few more socket options, and refactor the option setting a bit. (Patch from the Google tree.)
|
17 gadi atpakaļ |
Steinar H. Gunderson
|
d426c20c0a
Three fixes in one commit (sorry): a) Take care of the tcpbuf if it ends while queued for transmission, note broken servers and close them in the main loop, and store TCP socket generation number in order not to send the same query twice over the same socket.
|
17 gadi atpakaļ |
Daniel Stenberg
|
05b26e7566
Brad House provided a fix for ares_save_options(): Apparently I overlooked
|
17 gadi atpakaļ |