aboutsummaryrefslogtreecommitdiff
path: root/lib/hostasyn.c
AgeCommit message (Collapse)Author
2006-07-25Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H ↵Yang Tse
shall be defined if <malloc.h> header file must be included even when including <stdlib.h>.
2006-07-25Added note for CURLRES_ARES and CURLRES_IPV6.Gisle Vanem
2006-07-11include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined.Yang Tse
2006-05-04Roland Blom filed bug report #1481217Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1481217), with follow-ups by Michele Bini and David Byron. libcurl previously wrongly used GetLastError() on windows to get error details after socket-related function calls, when it really should use WSAGetLastError() instead. When changing to this, the former function Curl_ourerrno() is now instead called Curl_sockerrno() as it is necessary to only use it to get errno from socket-related functions as otherwise it won't work as intended on Windows.
2006-04-26Use the HAVE_MALLOC_H and HAVE_PROCESS_H definesGisle Vanem
(more logical).
2005-04-19only define _REENTRANT if not already defined, and only in setup.hDaniel Stenberg
2005-03-31Updated the copyright year since changes have been this year.Daniel Stenberg
2005-02-09FTP code turned into state machine. Not completely yet, but a good start.Daniel Stenberg
The tag 'before_ftp_statemachine' was set just before this commit in case of future need.
2005-02-08Curl_addrinfo?_callback() and addrinfo_callback() now returnsGisle Vanem
CURLE_OK or CURLE_OUT_OF_MEMORY. Add typecast in hostares.c.
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg
2004-10-03set async.done to TRUE last in the addrinfo callback to prevent the risk thatDaniel Stenberg
the multi-threaded resolver does wrong
2004-06-24Gisle cleaned up remaining host resolve re-org issuesDaniel Stenberg
2004-06-24Source cleanups. The major one being that we now _always_ use a Curl_addrinfoDaniel Stenberg
linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code.
2004-05-18+ when storing the address in the cache fails, cleanup the resolved addressDaniel Stenberg
properly + delete trailing whitespace
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-04-26Major hostip.c cleanup and split into multiple files and easier #ifdefDaniel Stenberg
usage.