93 Commits (0757cbf7f4ddeca979a0232dcd4fb0ed44c68d17)

Author SHA1 Message Date
Yang Tse ea46b347bb Revert last change, it is inappropriate. 16 years ago
Gisle Vanem 51a10c962a Replace CURLDEBUG with DEBUGBUILD. 16 years ago
Yang Tse cf3301f024 Make ares_init(), ares_dup() and ares_init_options() return ARES_ENOTINITIALIZED 16 years ago
Yang Tse b7c7bab713 Introduction of ares_library_init() and ares_library_cleanup() 16 years ago
Yang Tse 27aa165e9c avoid use of alloca() 16 years ago
Yang Tse 1509409fe1 Moved potential inclusion of system's malloc.h and memory.h header files to 16 years ago
Daniel Stenberg f61fa37f40 Gregor Jasny provided the patch that introduces ares_set_socket_callback(), 16 years ago
Daniel Stenberg e61d4b9e21 Introduce ares_dup(3) and new thoughts about API/ABI and how to move forwards. 16 years ago
Daniel Stenberg 7ff288f0b9 minor indent fix 16 years ago
Daniel Stenberg f31add0695 Convert the public config struct to the same binary size/construct as in the 16 years ago
Dan Fandrich 9c51eb28fc Make use of gethostname() conditional on it being available 16 years ago
Yang Tse aa1534eb20 In preparation for the upcomming IPv6 nameservers patch, the internal 16 years ago
Daniel Stenberg acf5ca090a use unsigned short better intead of mixing with ints to prevent compiler 16 years ago
Daniel Stenberg 1a1b4eb4f2 - Carlo Contavalli added support for the glibc "rotate" option, as documented 16 years ago
Yang Tse f214b583f5 adjust inclusion of "nameser.h" 16 years ago
Yang Tse 507c529dc0 code cleanup 16 years ago
Yang Tse f2582d6949 include header file only when available 16 years ago
Yang Tse 2cb5cbba34 move inclusion of ares_private.h last 16 years ago
Yang Tse f33bd94c05 remove unnecessary typecasting of malloc() 16 years ago
Daniel Stenberg 3f1bde7664 - Fix by Tofu Linden: 17 years ago
Daniel Stenberg 705c749aa1 - As was pointed out to me by Andreas Schuldei, the MAXHOSTNAMELEN define is 17 years ago
Yang Tse a43aec1b56 use same time source for timeout initialization and processing 17 years ago
Daniel Stenberg 46dbd9461a - Introducing millisecond resolution support for the timeout option. See 17 years ago
Yang Tse fc4704b4d8 Improved parsing of resolver configuration files 17 years ago
Daniel Stenberg cb4a169f75 Eino Tuominen improved the code when a file is used to seed the randomizer 17 years ago
Gunter Knauf b68a4326d2 removed dependency on gettimeofday() since we use only 1 sec resolution here. 17 years ago
Yang Tse 1fe4d44ed9 Fix compiler warning: conversion from "int" to "unsigned short" may lose significant bits 17 years ago
Yang Tse 0e74c9c8cf Renamed a variable to avoid shadowing a global declaration 17 years ago
Yang Tse 57abe9d22d Fix compiler warning: conversion from "int" to "unsigned char" 17 years ago
Yang Tse a15a88a4e6 Avoid a segfault when generating a DNS "Transaction ID" in internal 17 years ago
Steinar H. Gunderson 04e49e09dc Previously, processing a large batch of timeouts was O(n^2) in the number of 17 years ago
Steinar H. Gunderson 56ffdcefe1 Support a few more socket options, and refactor the option setting a bit. (Patch from the Google tree.) 17 years ago
Steinar H. Gunderson b669e17544 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 years ago
Daniel Stenberg 2b43edc964 Brad House provided a fix for ares_save_options(): Apparently I overlooked 17 years ago
Daniel Stenberg ad734e7b2d Brad House's fix to hish a win32 compiler warning 18 years ago
Daniel Stenberg 403b315a3b Vlad Dinulescu fixed two outstanding valgrind reports 18 years ago
Gunter Knauf 316c126447 few minor changes to make ares compile for NetWare CLIB architecture. 18 years ago
Daniel Stenberg fc5a460e0e Brad Spencer found and fixed three flaws in the code, found with the new 18 years ago
Daniel Stenberg 49fdeb1de4 first take at detecting a random device and seeding the random key using data 18 years ago
Daniel Stenberg 7a77f24d26 Shmulik Regev brought cryptographically secure transaction IDs 18 years ago
Daniel Stenberg f1440b2405 Brad House added ares_save_options() and ares_destroy_options() that can be 18 years ago
Daniel Stenberg 557aad7b02 Ravi Pratap fixed a flaw in the init_by_resolv_conf() function for windows 18 years ago
Gisle Vanem a627160041 Removed inclusion of <sys/types.h> in .c-files 18 years ago
Yang Tse 679a675660 add debug messages for initialization failures 18 years ago
Yang Tse 69fa447354 use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling 18 years ago
Yang Tse 5dceb6d883 Oops, missing argument separator comma 18 years ago
Yang Tse 8c76cf38a7 in debug messages also show error description 18 years ago
Yang Tse 6751a208d6 Fix c-ares failing to get the search sequence of /etc/hosts and 18 years ago
Gisle Vanem 657c69ce9d Added HAVE_PROCESS_H for DOS/Win32. 18 years ago
Yang Tse 6f872e206a add debug messages for initialization failures 18 years ago