Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-05 | Added IPv6 name servers support | Yang Tse | |
2010-01-28 | - Tommie Gannert pointed out a silly bug in ares_process_fd() since it didn't | Daniel Stenberg | |
check for broken connections like ares_process() did. Based on that, I merged the two functions into a single generic one with two front-ends. | |||
2009-12-29 | - Fix configure_socket() to use ares_socket_t instead of int data type. | Yang Tse | |
2009-11-18 | Make usage of calloc()'s arguments consistent with rest of code base | Yang Tse | |
2009-11-02 | Renamed c-ares setup.h to ares_setup.h | Yang Tse | |
2009-06-19 | sclose() function-like macro definition used to close a socket, | Yang Tse | |
now solely based on HAVE_CLOSESOCKET and HAVE_CLOSESOCKET_CAMEL config file preprocessor definitions. | |||
2009-05-02 | Use build-time configured ares_socklen_t instead of socklen_t | Yang Tse | |
2009-04-14 | fix compiler warning: implicit conversion shortens 64-bit value into a ↵ | Yang Tse | |
32-bit value | |||
2009-01-13 | - ares__send_query() now varies the retry timeout pseudo-randomly to avoid | Phil Blundell | |
packet storms when several queries were started at the same time. | |||
2008-12-04 | Gregor Jasny provided the patch that introduces ares_set_socket_callback(), | Daniel Stenberg | |
and I edited it to also get duped by ares_dup(). | |||
2008-11-28 | Only set TCP_NODELAY when it exists | Dan Fandrich | |
2008-11-13 | Refactor configure script detection of functions used to set sockets into | Yang Tse | |
non-blocking mode, and decouple function detection from function capability. | |||
2008-11-01 | - Carlo Contavalli added support for the glibc "rotate" option, as documented | Daniel Stenberg | |
in man resolv.conf: causes round robin selection of nameservers from among those listed. This has the effect of spreading the query load among all listed servers, rather than having all clients try the first listed server first every time. You can enable it with ARES_OPT_ROTATE | |||
2008-10-21 | Charles Hardin patch: | Yang Tse | |
- handles the EINPROGRESS for UDP connects - uses closesocket instead of close on some paths that were noticed | |||
2008-09-17 | adjust inclusion of "nameser.h" | Yang Tse | |
2008-08-26 | Functionality only possible if recvfrom() is available. | Yang Tse | |
2008-08-25 | Brad House's validation that DNS response address matches the request address | Yang Tse | |
2008-07-10 | fix compiler warning | Yang Tse | |
2008-05-15 | millisecond resolution support followup | Yang Tse | |
2008-05-13 | - Introducing millisecond resolution support for the timeout option. See | Daniel Stenberg | |
ares_init_options()'s ARES_OPT_TIMEOUTMS. | |||
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 | |