48 Commits (50ba81cd230f9054fa7c45cb4202ce8720c502b3)

Author SHA1 Message Date
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
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
Steinar H. Gunderson a6a159dcad Don't skip a server if it's the only one. (Bugfix from the Google tree.) 17 years ago
Daniel Stenberg c97d91e349 wrong, revert the previous "fix" and instead check that the fd_set pointer 17 years ago
Daniel Stenberg 99f15b20e8 eek, fix the conditions to return on either problem instead of requiring 17 years ago
Daniel Stenberg b17bb1bb67 Steinar H. Gunderson fixed: Correctly clear sockets from the fd_set on in 17 years ago
Daniel Stenberg eee17fc854 Steinar H. Gunderson modified c-ares to now also do to DNS retries even when 17 years ago
Daniel Stenberg 403b315a3b Vlad Dinulescu fixed two outstanding valgrind reports 18 years ago
Daniel Stenberg efa231bec5 Brad House fixed VS2005 compiler warnings due to time_t being 64bit. 18 years ago
Daniel Stenberg 8c35c65fc7 added ares_process_fd() to allow applications to ask for processing on 18 years ago
Gisle Vanem a627160041 Removed inclusion of <sys/types.h> in .c-files 18 years ago
Yang Tse 915e774a42 Check for stdbool.h at configuration stage, and include it if available. 18 years ago
Yang Tse 69fa447354 use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling 18 years ago
Gisle Vanem 5908d58da3 Use correct 3rd argument for ioctlsocket() under Watt-32. 18 years ago
Yang Tse 145117174e compiler warning fix 18 years ago
Yang Tse dd8b7df5dd Compiler warning fix 18 years ago
Yang Tse 77ac18117c Check for USE_WINSOCK instead of WIN32 where the check was done 18 years ago
Daniel Stenberg 1bec3073dc Brad Spencer did 19 years ago
Yang Tse cf64c31aac Fix compiler warnings. 19 years ago
Yang Tse 283737c856 Replace send() and recv() with swrite() and sread() macros. 19 years ago
Gisle Vanem 0a83c1e416 2nd try adding CVS id. 19 years ago
Yang Tse fb7987171c Fix compiler warning 19 years ago
William Ahern 70dbc3725d Handle EAGAIN/EWOULDBLOCK readiness errors, which can occur for both TCP and 19 years ago
Daniel Stenberg 22e34b53e4 Nick Mathewson added the ARES_OPT_SOCK_STATE_CB option that when set makes 19 years ago
Gisle Vanem ac9950c3eb Changes for PellesC for Win32. It needs <unistd.h> for 'ssize_t'. Hence the 19 years ago
Yang Tse 8e8403987f Fix compiler warning 19 years ago
Daniel Stenberg 006698a1ed read_tcp_data() fix to get the proper buffer pointer and size 19 years ago
Daniel Stenberg c24e66c057 Yang Tse: fixed compiler warnings 19 years ago
Gunter Knauf 7dfc7b6d56 make ares compile again for NetWare. 20 years ago
Daniel Stenberg 01118be8ae FIONBIO is in sys/ioctl.h on AIX 20 years ago
Daniel Stenberg c94c020c96 sigh, define TRUE if not already 20 years ago
Daniel Stenberg 4e9c5b2dbb William Ahern: 20 years ago
Daniel Stenberg b41effd113 Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac OS 20 years ago
Gisle Vanem 1223fb7eac Prevent gcc warning. 20 years ago
Daniel Stenberg 3e748f4b50 removed tabs and trailing whitespace from source 20 years ago
Gisle Vanem 32fded8229 No WSAGetLastError() on Watt-32/DOS 21 years ago
Gisle Vanem 6deb40acac Changes for Watt-32 on Windows. I've assumed Configure 21 years ago
Daniel Stenberg 06534bf195 variable type fix 21 years ago
Daniel Stenberg e8e8d3a407 Gisle Vanem: 21 years ago
Daniel Stenberg d5f3636a52 - Fixed a few variable return types for some system calls. Made configure 21 years ago
Daniel Stenberg 5c1ec168f6 Gisle's win32-fix. 'errno' is not used for errors when socket() fails on 21 years ago
Daniel Stenberg cb0a33076a Gisle Vanem made this build fine with djgpp and the Watt-32 stack. 21 years ago
Daniel Stenberg a881c1dfee minor size_t fix to kill a warning 21 years ago
Daniel Stenberg 961876c001 make ares_expand_name() take a long * instead of an int *, since we do 21 years ago
Daniel Stenberg 79c1e3ab26 don't use 'sin' as variable name as the picky compiler warnings complain 21 years ago
Daniel Stenberg 3d0a7c00df remove rcsid stuff from c files, it serves no useful purpose 21 years ago
Daniel Stenberg d52f1884be Dirk Manske fixed a flaw in the setting of the socket to non-blocking 21 years ago
Daniel Stenberg 5e847a14bd ares 1.1.1 with collected applied patches 21 years ago