summaryrefslogtreecommitdiff
path: root/ares_process.c
AgeCommit message (Expand)AuthorFilesLines
2009-06-19sclose() function-like macro definition used to close a socket,Yang Tse1-7/+7
2009-05-02Use build-time configured ares_socklen_t instead of socklen_tYang Tse1-1/+1
2009-04-14fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit...Yang Tse1-2/+2
2009-01-13- ares__send_query() now varies the retry timeout pseudo-randomly to avoidPhil Blundell1-1/+4
2008-12-04Gregor Jasny provided the patch that introduces ares_set_socket_callback(),Daniel Stenberg1-0/+22
2008-11-28Only set TCP_NODELAY when it existsDan Fandrich1-0/+2
2008-11-13Refactor configure script detection of functions used to set sockets intoYang Tse1-35/+18
2008-11-01- Carlo Contavalli added support for the glibc "rotate" option, as documentedDaniel Stenberg1-23/+27
2008-10-21Charles Hardin patch:Yang Tse1-11/+18
2008-09-17adjust inclusion of "nameser.h"Yang Tse1-17/+15
2008-08-26Functionality only possible if recvfrom() is available.Yang Tse1-6/+9
2008-08-25Brad House's validation that DNS response address matches the request addressYang Tse1-1/+15
2008-07-10fix compiler warningYang Tse1-6/+4
2008-05-15millisecond resolution support followupYang Tse1-1/+1
2008-05-13- Introducing millisecond resolution support for the timeout option. SeeDaniel Stenberg1-39/+93
2008-05-08check for strings.h in configure and use it for the strcasecmp() protoDaniel Stenberg1-0/+3
2007-10-18Renamed internal function to avoid a variable shadowing itYang Tse1-3/+3
2007-10-08'FD_CLOXEC' is meaningless on MSDOS/Watt-32.Gisle Vanem1-2/+2
2007-10-04Removed a piece of redundant code (process_answer already takes care of it).Steinar H. Gunderson1-6/+0
2007-09-30Fix compiler warningYang Tse1-3/+3
2007-09-30check availability of <netinet/tcp.h>Yang Tse1-2/+12
2007-09-29Use ISDIGIT instead of isdigit; fixes a gcc warning.Steinar H. Gunderson1-0/+1
2007-09-29Previously, processing a large batch of timeouts was O(n^2) in the number ofSteinar H. Gunderson1-47/+108
2007-09-29Fix compiler warning in setsockopt().Gisle Vanem1-8/+9
2007-09-29TCP queries can time out too, not just UDP queries. (Patch from the Google tr...Steinar H. Gunderson1-4/+3
2007-09-29Read and process as many packets as possible in read_udp_packets, to avoid ha...Steinar H. Gunderson1-7/+11
2007-09-29There are two different places in write_tcp_data() that advance the send_queu...Steinar H. Gunderson1-40/+35
2007-09-28Forgot to include a few hunks from ares_process.c earlier. Fixing now.Steinar H. Gunderson1-0/+2
2007-09-28Support a few more socket options, and refactor the option setting a bit. (Pa...Steinar H. Gunderson1-3/+52
2007-09-28Make the query callbacks return the number of timeouts that happened during t...Steinar H. Gunderson1-1/+1
2007-09-28Three fixes in one commit (sorry): a) Take care of the tcpbuf if it ends whil...Steinar H. Gunderson1-8/+105
2007-09-28Don't skip a server if it's the only one. (Bugfix from the Google tree.)Steinar H. Gunderson1-5/+23
2007-09-27wrong, revert the previous "fix" and instead check that the fd_set pointerDaniel Stenberg1-22/+25
2007-09-27eek, fix the conditions to return on either problem instead of requiringDaniel Stenberg1-3/+3
2007-09-22Steinar H. Gunderson fixed: Correctly clear sockets from the fd_set on inDaniel Stenberg1-0/+21
2007-09-22Steinar H. Gunderson modified c-ares to now also do to DNS retries even whenDaniel Stenberg1-3/+6
2007-07-14Vlad Dinulescu fixed two outstanding valgrind reportsDaniel Stenberg1-1/+2
2007-06-02Brad House fixed VS2005 compiler warnings due to time_t being 64bit.Daniel Stenberg1-2/+2
2007-05-30added ares_process_fd() to allow applications to ask for processing onDaniel Stenberg1-16/+76
2007-02-26Removed inclusion of <sys/types.h> in .c-filesGisle Vanem1-1/+0
2007-02-22Check for stdbool.h at configuration stage, and include it if available.Yang Tse1-5/+1
2007-02-16use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handlingYang Tse1-13/+7
2007-02-04Use correct 3rd argument for ioctlsocket() under Watt-32.Gisle Vanem1-0/+4
2007-02-01compiler warning fixYang Tse1-2/+2
2006-10-25Compiler warning fixYang Tse1-1/+1
2006-10-18Check for USE_WINSOCK instead of WIN32 where the check was doneYang Tse1-1/+1
2006-08-29Brad Spencer didDaniel Stenberg1-0/+1
2006-07-29Fix compiler warnings.Yang Tse1-5/+7
2006-07-28Replace send() and recv() with swrite() and sread() macros.Yang Tse1-12/+9
2006-07-222nd try adding CVS id.Gisle Vanem1-0/+2