aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip6.c
AgeCommit message (Collapse)Author
2006-07-21Changes for combination ENABLE_IPV6 and USE_ARES.Gisle Vanem
2006-07-20Avoid warning "comparison of unsigned expression < 0 is always false"Gisle Vanem
2006-07-11include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined.Yang Tse
2006-07-04Test HAVE_GETNAMEINFO definition before using GETNAMEINFO_XXX definitions.Yang Tse
2006-07-03Fix compiler warning.Yang Tse
2006-05-05additional renames of Curl_ourerrno => Curl_sockerrnoDaniel Stenberg
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-12-13Undo last 'fix', since it was not the proper one.Yang Tse
2005-12-12Fix compiler warningYang Tse
2005-12-11Undo last changesYang Tse
2005-12-11Fix compiler warning and compatibility issue with the type of the parameter ↵Yang Tse
used in getnameinfo() to receive the length of the sockaddr struct.
2005-12-08Fix compiler warningYang Tse
2005-11-08Removed the use of AI_CANONNAME in the IPv6-enabled resolver functions sinceDaniel Stenberg
we really have no use for reverse lookups of the address. I truly hope these are the last reverse lookups we had lingering in the code!
2005-10-20Added a dump_addrinfo() function to ease debugging of resolved names. DefineDaniel Stenberg
DEBUG_ADDRINFO to enable.
2005-10-10pass a NULL pointer in the service argument (the second) if the port numberDaniel Stenberg
was 0 as it seems at least some AIX versions don't like a "0" string there
2005-09-16keep 'socktype' in the connectdata struct and make sure we use that for allDaniel Stenberg
protocol sockets even if the resolved address may say otherwise
2005-09-02John Kelly added TFTP support to libcurl. A bunch of new error codes wasDaniel Stenberg
added. TODO: add them to docs. add TFTP server to test suite. add TFTP to list of protocols whereever those are mentioned.
2005-04-19only define _REENTRANT if not already defined, and only in setup.hDaniel Stenberg
2005-03-17include inet_pton.hDaniel Stenberg
2005-03-17use Curl_inet_pton(), not inet_pton().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.
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg
2004-08-20actually, we check for a numerical host using either ipv4 or ipv6, as neitherDaniel Stenberg
should result in a reverse dns lookup
2004-08-20use inet_pton() correctly!Daniel Stenberg
2004-08-19Ling Thio pointed out that getaddrinfo() reverse-lookups ip-only names, andDaniel Stenberg
this is an attempt to prevent it from doing that. affects ipv6-enabled only.
2004-06-24Gisle cleaned up remaining host resolve re-org issuesDaniel Stenberg
2004-06-10Gisle Vanem's improved verbose output and timeout handling when connecting toDaniel Stenberg
a host name that resolves to multiple IP addresses.
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-04-26corrected mistakeDaniel Stenberg
2004-04-26IDN adjustments and host cleanups by GisleDaniel Stenberg
2004-04-26Major hostip.c cleanup and split into multiple files and easier #ifdefDaniel Stenberg
usage.