aboutsummaryrefslogtreecommitdiff
path: root/lib/hostthre.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-21Constify 'hostname' and 'service' to various resolver functions.Gisle Vanem
2006-07-11include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined.Yang Tse
2006-07-07Correct the trace for WinCE.Gisle Vanem
2006-07-07WinCE uses CreateThread(). Hence error is not in 'errno'.Gisle Vanem
2006-07-07Removed copying 'stderr' since it doesn't have the desiredGisle Vanem
effect.
2006-04-26Use the HAVE_MALLOC_H and HAVE_PROCESS_H definesGisle Vanem
(more logical).
2006-04-12Add "multiif.h" for GETSOCK_WRITESOCK() macro.Gisle Vanem
2006-04-11adjusted to the new internal *_getsock() concept for providing info internallyDaniel Stenberg
about what sockets to wait for what action on
2005-11-24Yang Tse: use static on file-private functionsDaniel Stenberg
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-21Bradford Bruce made the windows resolver code properly returnDaniel Stenberg
CURLE_COULDNT_RESOLVE_PROXY and CURLE_COULDNT_RESOLVE_HOST on resolving errors (as documented).
2005-10-02Fix for building with MS Visual-C and single-threadedGisle Vanem
runtime libs.
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-06Fix warning about missing initializers.Gisle Vanem
2005-09-06Use SOCK_DGRAM for TFTP. Consider setting this up at one central place, weDaniel Stenberg
have this check done on far too many places by now...
2005-08-31use it as 'struct addrinfo' so perhaps it builds on mingw againDaniel Stenberg
2005-08-29Igor Polyakov fixed a rather nasty problem with the threaded name resolverDaniel Stenberg
for Windows, that could lead to an Access Violation when the multi interface was used due to an issue with how the resolver thread was and was not terminated.
2005-06-14Ensure thread handle is closed too.Gisle Vanem
2005-04-26Cory Nelson's work on nuking compiler warnings when building on x64 withDaniel Stenberg
VS2005.
2005-04-19only define _REENTRANT if not already defined, and only in setup.hDaniel Stenberg
2005-04-04hostthre.c: destroy_thread_data() made public. CalledGisle Vanem
from url.c: Curl_disconnect().
2005-03-20removed a (fairly useless) debug output just to compile without warningDaniel 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.
2005-01-19Don't copy 'stderr' for Win-CE in IPv6 code. Don't callGisle Vanem
GetCurrentProcess() twice; use a local variable.
2004-11-25made the code fit within 80 colsDaniel Stenberg
2004-11-02Paul Nolan fix to make libcurl build nicely on Windows CEDaniel Stenberg
2004-10-16Added Traian Nicolescu's patches for threaded resolver onGisle Vanem
Windows. Plugged some potential handle and memory leaks. Refs. http://curl.haxx.se/mail/lib-2004-10/0134.html http://curl.haxx.se/mail/lib-2004-10/0157.html
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg
2004-06-24Gisle cleaned up remaining host resolve re-org issuesDaniel Stenberg
2004-06-24made the Curl_he2ai() take the port number as an int intead, to avoid lotsDaniel Stenberg
of typecasts all over
2004-06-24typecast to prevent warningDaniel Stenberg
2004-06-24fixed problems I missed to fix from my cleanupDaniel 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-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-27outputed elsewhere alreadyDaniel Stenberg
2004-04-27Made host name and proxy name get stored in a 'struct hostname' and setDaniel Stenberg
all things up to work with encoded host names internally, as well as keeping 'display names' to show in debug messages. IDN resolves work for me now using ipv6, ipv4 and ares resolving. Even cookies on IDN sites seem to do right.
2004-04-26Gisle fixed a mistaken checkDaniel 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.