Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-05-08 | check for strings.h in configure and use it for the strcasecmp() proto | Daniel Stenberg | |
2007-10-18 | Renamed internal function to avoid a variable shadowing it | Yang Tse | |
2007-10-08 | 'FD_CLOXEC' is meaningless on MSDOS/Watt-32. | Gisle Vanem | |
2007-10-04 | Removed a piece of redundant code (process_answer already takes care of it). | Steinar H. Gunderson | |
2007-09-30 | Fix compiler warning | Yang Tse | |
2007-09-30 | check availability of <netinet/tcp.h> | Yang Tse | |
2007-09-29 | Use ISDIGIT instead of isdigit; fixes a gcc warning. | Steinar H. Gunderson | |
2007-09-29 | Previously, processing a large batch of timeouts was O(n^2) in the number of | Steinar H. Gunderson | |
outstanding queries, and processing a DNS response packet was O(n) in the number of outstanding queries. To speed things up in Google, we added a few circular, doubly-linked lists of queries that are hash-bucketed based on the attributes we care about, so most important operations are now O(1). It might be that the number of buckets are higher than most people would need, but on a quick calculation it should only be 100kB or so even on a 64-bit system, so I've let it stay as-is. | |||
2007-09-29 | Fix compiler warning in setsockopt(). | Gisle Vanem | |
2007-09-29 | TCP queries can time out too, not just UDP queries. (Patch from the Google ↵ | Steinar H. Gunderson | |
tree.) | |||
2007-09-29 | Read and process as many packets as possible in read_udp_packets, to avoid ↵ | Steinar H. Gunderson | |
having to run the entire event loop once per packet. (Patch from the Google tree.) | |||
2007-09-29 | There are two different places in write_tcp_data() that advance the ↵ | Steinar H. Gunderson | |
send_queue; however, they are slightly different and only the first one properly uses a while loop. Consolidate both into a single function that DTTR. (Patch from the Google tree.) | |||
2007-09-28 | Forgot to include a few hunks from ares_process.c earlier. Fixing now. | Steinar H. Gunderson | |
2007-09-28 | Support a few more socket options, and refactor the option setting a bit. ↵ | Steinar H. Gunderson | |
(Patch from the Google tree.) | |||
2007-09-28 | Make the query callbacks return the number of timeouts that happened during ↵ | Steinar H. Gunderson | |
the execution of a query, and update documentation accordingly. (Patch from the Google tree.) | |||
2007-09-28 | Three fixes in one commit (sorry): a) Take care of the tcpbuf if it ends ↵ | Steinar H. Gunderson | |
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. | |||
2007-09-28 | Don't skip a server if it's the only one. (Bugfix from the Google tree.) | Steinar H. Gunderson | |
2007-09-27 | wrong, revert the previous "fix" and instead check that the fd_set pointer | Daniel Stenberg | |
is non-NULL before we FD_CLR | |||
2007-09-27 | eek, fix the conditions to return on either problem instead of requiring | Daniel Stenberg | |
both to occur | |||
2007-09-22 | Steinar H. Gunderson fixed: Correctly clear sockets from the fd_set on in | Daniel Stenberg | |
several functions (write_tcp_data, read_tcp_data, read_udp_packets) so that if it fails and the socket is closed the following code doesn't try to use the file descriptor. | |||
2007-09-22 | Steinar H. Gunderson modified c-ares to now also do to DNS retries even when | Daniel Stenberg | |
TCP is used since there are several edge cases where it still makes sense. | |||
2007-07-14 | Vlad Dinulescu fixed two outstanding valgrind reports | Daniel Stenberg | |
2007-06-02 | Brad House fixed VS2005 compiler warnings due to time_t being 64bit. | Daniel Stenberg | |
He also made recent Microsoft compilers use _strdup() instead of strdup(). | |||
2007-05-30 | added ares_process_fd() to allow applications to ask for processing on | Daniel Stenberg | |
specific sockets and thus avoiding select() and associated functions/macros. This function will be used by upcoming libcurl releases for this very reason. It also made me export the ares_socket_t type in the public ares.h header file, since ares_process_fd() uses that type for two of the arguments. | |||
2007-02-26 | Removed inclusion of <sys/types.h> in .c-files | Gisle Vanem | |
since it's already included through "setup.h". | |||
2007-02-22 | Check for stdbool.h at configuration stage, and include it if available. | Yang Tse | |
Check for lowercase 'bool' type at configuration stage. If not available provide a suitable replacement with a type definition of 'unsigned char' in setup_once.h Move definitions of TRUE and FALSE to setup_once.h | |||
2007-02-16 | use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling | Yang Tse | |
2007-02-04 | Use correct 3rd argument for ioctlsocket() under Watt-32. | Gisle Vanem | |
2007-02-01 | compiler warning fix | Yang Tse | |
2006-10-25 | Compiler warning fix | Yang Tse | |
2006-10-18 | Check for USE_WINSOCK instead of WIN32 where the check was done | Yang Tse | |
to verify winsock API availability. | |||
2006-08-29 | Brad Spencer did | Daniel Stenberg | |
o made ares_version.h use extern "C" for c++ compilers o fixed compiler warnings in ares_getnameinfo.c o fixed a buffer position init for TCP reads | |||
2006-07-29 | Fix compiler warnings. | Yang Tse | |
2006-07-28 | Replace send() and recv() with swrite() and sread() macros. | Yang Tse | |
2006-07-22 | 2nd try adding CVS id. | Gisle Vanem | |
2006-07-14 | Fix compiler warning | Yang Tse | |
2006-06-19 | Handle EAGAIN/EWOULDBLOCK readiness errors, which can occur for both TCP and | William Ahern | |
UDP even when a poll(2) or select(2) suggest otherwise. | |||
2006-05-03 | Nick Mathewson added the ARES_OPT_SOCK_STATE_CB option that when set makes | Daniel Stenberg | |
c-ares call a callback on socket state changes. A better way than the ares_getsock() to get full control over the socket state. | |||
2005-12-20 | Changes for PellesC for Win32. It needs <unistd.h> for 'ssize_t'. Hence the | Gisle Vanem | |
rearrangement in ares_process.c. | |||
2005-12-09 | Fix compiler warning | Yang Tse | |
2005-11-25 | read_tcp_data() fix to get the proper buffer pointer and size | Daniel Stenberg | |
2005-11-25 | Yang Tse: fixed compiler warnings | Daniel Stenberg | |
2005-08-10 | make ares compile again for NetWare. | Gunter Knauf | |
2005-06-03 | FIONBIO is in sys/ioctl.h on AIX | Daniel Stenberg | |
2005-06-02 | sigh, define TRUE if not already | Daniel Stenberg | |
2005-06-02 | William Ahern: | Daniel Stenberg | |
Make UDP sockets non-blocking. I've confirmed that at least on Linux 2.4 a read event can come back from poll() on a valid SOCK_DGRAM socket but recv(2) will still block. This patch doesn't ignore EAGAIN in read_udp_packets(), though maybe it should. (This patch was edited by Daniel Stenberg and a new configure test was added (imported from curl's configure) to properly detect what non-blocking socket approach to use.) | |||
2005-04-06 | Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac OS | Daniel Stenberg | |
X. | |||
2005-03-13 | Prevent gcc warning. | Gisle Vanem | |
2004-10-06 | removed tabs and trailing whitespace from source | Daniel Stenberg | |
2004-08-20 | No WSAGetLastError() on Watt-32/DOS | Gisle Vanem | |