summaryrefslogtreecommitdiff
path: root/ares_process.c
AgeCommit message (Expand)AuthorFilesLines
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
2006-07-14Fix compiler warningYang Tse1-1/+1
2006-06-19Handle EAGAIN/EWOULDBLOCK readiness errors, which can occur for both TCP andWilliam Ahern1-5/+38
2006-05-03Nick Mathewson added the ARES_OPT_SOCK_STATE_CB option that when set makesDaniel Stenberg1-5/+17
2005-12-20Changes for PellesC for Win32. It needs <unistd.h> for 'ssize_t'. Hence theGisle Vanem1-1/+2
2005-12-09Fix compiler warningYang Tse1-1/+1
2005-11-25read_tcp_data() fix to get the proper buffer pointer and sizeDaniel Stenberg1-2/+2
2005-11-25Yang Tse: fixed compiler warningsDaniel Stenberg1-5/+7
2005-08-10make ares compile again for NetWare.Gunter Knauf1-0/+3
2005-06-03FIONBIO is in sys/ioctl.h on AIXDaniel Stenberg1-0/+3