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