summaryrefslogtreecommitdiff
path: root/lib/hostasyn.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed inclusion of <sys/types.h> and <sys/stat.h> in .c-filesGisle Vanem2007-02-261-3/+0
| | | | since they're already included through "setup.h".
* Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H ↵Yang Tse2006-07-251-1/+1
| | | | shall be defined if <malloc.h> header file must be included even when including <stdlib.h>.
* Added note for CURLRES_ARES and CURLRES_IPV6.Gisle Vanem2006-07-251-2/+5
|
* include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined.Yang Tse2006-07-111-1/+1
|
* Roland Blom filed bug report #1481217Daniel Stenberg2006-05-041-2/+1
| | | | | | | | | | | (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.
* Use the HAVE_MALLOC_H and HAVE_PROCESS_H definesGisle Vanem2006-04-261-4/+3
| | | | (more logical).
* only define _REENTRANT if not already defined, and only in setup.hDaniel Stenberg2005-04-191-2/+0
|
* Updated the copyright year since changes have been this year.Daniel Stenberg2005-03-311-1/+1
|
* FTP code turned into state machine. Not completely yet, but a good start.Daniel Stenberg2005-02-091-5/+0
| | | | | The tag 'before_ftp_statemachine' was set just before this commit in case of future need.
* Curl_addrinfo?_callback() and addrinfo_callback() now returnsGisle Vanem2005-02-081-12/+18
| | | | | CURLE_OK or CURLE_OUT_OF_MEMORY. Add typecast in hostares.c.
* removed tabs and trailing whitespace from sourceDaniel Stenberg2004-10-061-2/+2
|
* set async.done to TRUE last in the addrinfo callback to prevent the risk thatDaniel Stenberg2004-10-031-1/+5
| | | | the multi-threaded resolver does wrong
* Gisle cleaned up remaining host resolve re-org issuesDaniel Stenberg2004-06-241-4/+4
|
* Source cleanups. The major one being that we now _always_ use a Curl_addrinfoDaniel Stenberg2004-06-241-7/+23
| | | | | linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code.
* + when storing the address in the cache fails, cleanup the resolved addressDaniel Stenberg2004-05-181-5/+8
| | | | | properly + delete trailing whitespace
* curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg2004-05-111-2/+1
| | | | memory.h is included everywhere for this.
* Major hostip.c cleanup and split into multiple files and easier #ifdefDaniel Stenberg2004-04-261-0/+152
usage.