- Sep 28, 2007
-
-
Steinar H. Gunderson authored
-
- Sep 27, 2007
-
-
Daniel Stenberg authored
is non-NULL before we FD_CLR
-
Daniel Stenberg authored
both to occur
-
- Sep 22, 2007
-
-
Daniel Stenberg authored
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.
-
Daniel Stenberg authored
TCP is used since there are several edge cases where it still makes sense.
-
- Jul 14, 2007
-
-
Daniel Stenberg authored
-
- Jun 02, 2007
-
-
Daniel Stenberg authored
He also made recent Microsoft compilers use _strdup() instead of strdup().
-
- May 30, 2007
-
-
Daniel Stenberg authored
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.
-
- Feb 26, 2007
-
-
Gisle Vanem authored
since it's already included through "setup.h".
-
- Feb 22, 2007
-
-
Yang Tse authored
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
-
- Feb 16, 2007
-
-
Yang Tse authored
-
- Feb 04, 2007
-
-
Gisle Vanem authored
-
- Feb 01, 2007
-
-
Yang Tse authored
-
- Oct 25, 2006
-
-
Yang Tse authored
-
- Oct 18, 2006
-
-
Yang Tse authored
to verify winsock API availability.
-
- Aug 29, 2006
-
-
Daniel Stenberg authored
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
-
- Jul 29, 2006
-
-
Yang Tse authored
-
- Jul 28, 2006
-
-
Yang Tse authored
-
- Jul 22, 2006
-
-
Gisle Vanem authored
-
- Jul 14, 2006
-
-
Yang Tse authored
-
- Jun 19, 2006
-
-
William Ahern authored
UDP even when a poll(2) or select(2) suggest otherwise.
-
- May 03, 2006
-
-
Daniel Stenberg authored
c-ares call a callback on socket state changes. A better way than the ares_getsock() to get full control over the socket state.
-
- Dec 20, 2005
-
-
Gisle Vanem authored
rearrangement in ares_process.c.
-
- Dec 09, 2005
-
-
Yang Tse authored
-
- Nov 25, 2005
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- Aug 10, 2005
-
-
Guenter Knauf authored
-
- Jun 03, 2005
-
-
Daniel Stenberg authored
-
- Jun 02, 2005
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
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.)
-
- Apr 06, 2005
-
-
Daniel Stenberg authored
X.
-
- Mar 13, 2005
-
-
Gisle Vanem authored
-
- Oct 06, 2004
-
-
Daniel Stenberg authored
-
- Aug 20, 2004
-
-
Gisle Vanem authored
-
Gisle Vanem authored
sets the required HAVE_xx defines for non-DOS/Win targets.
-
- Jul 29, 2004
-
-
Daniel Stenberg authored
-
- Jul 24, 2004
-
-
Daniel Stenberg authored
Basically in loops like handle_errors(), 'query->next' was assigned a local variable and then query was referenced after the memory was freed by next_server(). I've changed that so next_server() and end_query() returns the next query. So callers should use this ret-value. The next problem was that 'server->tcp_buffer_pos' had a random value at entry to 1st recv() (luckily causing Winsock to return ENOBUFS). I've also added a ares_writev() for Windows to streamline the code a bit more.
-
- Jul 22, 2004
-
-
Daniel Stenberg authored
check for ssize_t to make it possible to use that when receiving the send() error code. This is necessary to prevent compiler warnings on some systems. - Made configure create config.h, and all source files now include setup.h that might include the proper config.h (or a handicrafted alternative). - Switched to 'ares_socket_t' type for sockets in ares, since Windows don't use 'int' for that. - automake-ified and libool-ified c-ares. Now it builds libcares as a shared lib on most platforms if wanted. (This bloated the size of the release archive with another 200K!) - Makefile.am now uses Makefile.inc for the c sources, h headers and man pages, to make it easier for other makefiles to use the exact same set of files. - Adjusted 'maketgz' to use the new automake magic when building distribution archives.
-
- Jul 01, 2004
-
-
Daniel Stenberg authored
Windows.
-
Daniel Stenberg authored
-