summaryrefslogtreecommitdiff
path: root/ares_process.c
AgeCommit message (Expand)AuthorFilesLines
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
2005-06-02sigh, define TRUE if not alreadyDaniel Stenberg1-0/+5
2005-06-02William Ahern:Daniel Stenberg1-23/+71
2005-04-06Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac OSDaniel Stenberg1-0/+3
2005-03-13Prevent gcc warning.Gisle Vanem1-1/+5
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg1-216/+216
2004-08-20No WSAGetLastError() on Watt-32/DOSGisle Vanem1-1/+1
2004-08-20Changes for Watt-32 on Windows. I've assumed ConfigureGisle Vanem1-3/+10
2004-07-29variable type fixDaniel Stenberg1-13/+14
2004-07-24Gisle Vanem:Daniel Stenberg1-19/+23
2004-07-22- Fixed a few variable return types for some system calls. Made configureDaniel Stenberg1-12/+18
2004-07-01Gisle's win32-fix. 'errno' is not used for errors when socket() fails onDaniel Stenberg1-4/+12
2004-07-01Gisle Vanem made this build fine with djgpp and the Watt-32 stack.Daniel Stenberg1-1/+1