Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-03-23 | ipv6: only probe once | Daniel Stenberg | |
Move ipv6-functional-probe into a single function that is used from all places that need to know. Make the probe function store the result in a static variable so that subsequent invokes just returns the previous result and won't have to probe again. | |||
2010-11-11 | ip_version: moved to connection struct | Daniel Stenberg | |
The IP version choice was previously only in the UserDefined struct within the SessionHandle, but since we sometimes alter that option during a request we need to have it on a per-connection basis. I also moved more "init conn" code into the allocate_conn() function which is designed for that purpose more or less. | |||
2010-09-01 | threaded resolver: no more expire 0 calls | Daniel Stenberg | |
Curl_expire() set to 0 expires ALL timeouts so it should only be called if we truly and really want to remove all timeouts for the handle. | |||
2010-07-29 | Removed unused vars to avoid compiler warnings. | Guenter Knauf | |
2010-07-12 | threaded resolver: fix timeout issue | Constantine Sapuntzakis | |
Reset old timer first so we can set a new one further in the future. | |||
2010-04-16 | resolvers: no more using AI_CANONNAME | Daniel Stenberg | |
No resolver anymore needs to use AI_CANONNAME and do reverse lookups. We should work hard to avoid having code that relies on it. | |||
2010-03-24 | remove the CVSish $Id$ lines | Daniel Stenberg | |
2010-02-13 | used allways #ifdef / #ifndef; | Gunter Knauf | |
moved gethostbyname_thread() to #else case to avoid 'not used' compiler warning. | |||
2010-02-13 | replaced tabs by spaces, removed trailing tabs/spaces. | Gunter Knauf | |
2010-02-02 | Fix compiler warning: local variable may be used without having been ↵ | Yang Tse | |
initialized. | |||
2010-01-26 | onstantine Sapuntzakis threaded resolver enhancements | Yang Tse | |
2010-01-25 | Constantine Sapuntzakis threaded resolver enhancements | Yang Tse | |
2010-01-22 | Constantine Sapuntzakis refactoring of async callbacks, allowing | Yang Tse | |
removal of Curl_addrinfo_copy(), Curl_addrinfo6_callback(), and Curl_addrinfo4_callback() | |||
2009-12-30 | VMS specific preprocessor symbol checking adjustments | Yang Tse | |
2009-11-18 | Make usage of calloc()'s arguments consistent with rest of code base | Yang Tse | |
2009-04-21 | libcurl's memory.h renamed to curl_memory.h | Yang Tse | |
2009-04-21 | Moved potential inclusion of system's malloc.h and memory.h header files to | Yang Tse | |
setup_once.h. Inclusion of each header file is based on the definition of NEED_MALLOC_H and NEED_MEMORY_H respectively. | |||
2008-11-06 | Merged existing IPv4 and IPv6 Curl_ip2addr functions into a single one | Yang Tse | |
which now also takes a protocol address family argument. | |||
2008-11-01 | init_resolve_thread() needs 'hints' on the native form. | Gisle Vanem | |
2008-10-30 | Use our Curl_addrinfo definition even when an addrinfo struct is available. | Yang Tse | |
Use a wrapper function to call system's getaddrinfo(). | |||
2008-09-29 | Removed unneeded includes of signal.h and setjmp.h | Dan Fandrich | |
2008-08-06 | Removed TRACE() code. | Gisle Vanem | |
2008-07-29 | Eliminate a unnecessary socket creation in Curl_getaddrinfo for an IPv4 | Dan Fandrich | |
address in an IPv6 capable libcurl. | |||
2008-02-10 | Bug report #1888932 (http://curl.haxx.se/bug/view.cgi?id=1888932) points | Yang Tse | |
out and provides test program that demonstrates that libcurl might not set error description message for error CURLE_COULDNT_RESOLVE_HOST for Windows threaded name resolver builds. Fixed now. | |||
2007-11-05 | removed space after if and while before the parenthesis for better source code | Daniel Stenberg | |
consistency | |||
2007-06-11 | constify 'hostname' in init_thread_sync_data(). Simply clear | Gisle Vanem | |
the whole 'tsd' structure on exit in destroy_thread_sync_data(). | |||
2007-05-20 | WaitForSingleObject() uses a millisecond timeout and CURL_TIMEOUT_RESOLVE is | Daniel Stenberg | |
counted in seconds... | |||
2007-02-26 | Removed inclusion of <sys/types.h> and <sys/stat.h> in .c-files | Gisle Vanem | |
since they're already included through "setup.h". | |||
2007-02-21 | curlassert macro replaced with DEBUGASSERT macro defined in setup_once.h | Yang Tse | |
2007-02-16 | use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling | Yang Tse | |
2007-02-05 | - Michael Wallner provided a patch that adds support for CURLOPT_TIMEOUT_MS | Daniel Stenberg | |
and CURLOPT_CONNECTTIMEOUT_MS that, as their names should hint, do the timeouts with millisecond resolution instead. The only restriction to that is the alarm() (sometimes) used to abort name resolves as that uses full seconds. I fixed the FTP response timeout part of the patch. Internally we now count and keep the timeouts in milliseconds but it also means we multiply set timeouts with 1000. The effect of this is that no timeout can be set to more than 2^31 milliseconds (on 32 bit systems), which equals 24.86 days. We probably couldn't before either since the code did *1000 on the timeout values on several places already. | |||
2006-10-17 | clear the struct size not the pointer size, pointed out in bug report | Daniel Stenberg | |
#1579171 | |||
2006-07-25 | Simplify 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-21 | Constify 'hostname' and 'service' to various resolver functions. | Gisle Vanem | |
2006-07-11 | include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined. | Yang Tse | |
2006-07-07 | Correct the trace for WinCE. | Gisle Vanem | |
2006-07-07 | WinCE uses CreateThread(). Hence error is not in 'errno'. | Gisle Vanem | |
2006-07-07 | Removed copying 'stderr' since it doesn't have the desired | Gisle Vanem | |
effect. | |||
2006-04-26 | Use the HAVE_MALLOC_H and HAVE_PROCESS_H defines | Gisle Vanem | |
(more logical). | |||
2006-04-12 | Add "multiif.h" for GETSOCK_WRITESOCK() macro. | Gisle Vanem | |
2006-04-11 | adjusted to the new internal *_getsock() concept for providing info internally | Daniel Stenberg | |
about what sockets to wait for what action on | |||
2005-11-24 | Yang Tse: use static on file-private functions | Daniel Stenberg | |
2005-11-08 | Removed the use of AI_CANONNAME in the IPv6-enabled resolver functions since | Daniel 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-21 | Bradford Bruce made the windows resolver code properly return | Daniel Stenberg | |
CURLE_COULDNT_RESOLVE_PROXY and CURLE_COULDNT_RESOLVE_HOST on resolving errors (as documented). | |||
2005-10-02 | Fix for building with MS Visual-C and single-threaded | Gisle Vanem | |
runtime libs. | |||
2005-09-16 | keep 'socktype' in the connectdata struct and make sure we use that for all | Daniel Stenberg | |
protocol sockets even if the resolved address may say otherwise | |||
2005-09-06 | Fix warning about missing initializers. | Gisle Vanem | |
2005-09-06 | Use SOCK_DGRAM for TFTP. Consider setting this up at one central place, we | Daniel Stenberg | |
have this check done on far too many places by now... | |||
2005-08-31 | use it as 'struct addrinfo' so perhaps it builds on mingw again | Daniel Stenberg | |
2005-08-29 | Igor Polyakov fixed a rather nasty problem with the threaded name resolver | Daniel 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. |