Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-09-01 | hostip.c: return immediately from Curl_resolv_timeout() upon expired timeout. | Yang Tse | |
Ensure existing logic in Curl_resolv_timeout() is not subverted upon getting a negative timeout from resolve_server(). The timeout in resolve_server() could be checked to avoid calling Curl_resolv_timeout() with an expired timeout, but fixing this in this way allows existing logic in resolve_server() to be kept unchanged. | |||
2011-07-26 | stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.h | Yang Tse | |
2011-04-27 | whitespace cleanup: no space first in conditionals | Daniel Stenberg | |
"if(a)" is our style, not "if( a )" | |||
2011-04-27 | source cleanup: unify look, style and indent levels | Daniel Stenberg | |
By the use of a the new lib/checksrc.pl script that checks that our basic source style rules are followed. | |||
2011-04-25 | hostip: comment fixed to state current situation | Daniel Stenberg | |
2011-04-25 | async resolvers: further cleanups | Daniel Stenberg | |
asyn-ares.c and asyn-thread.c are two separate backends that implement the same (internal) async resolver API for libcurl to use. Backend is specified at build time. The internal resolver API is defined in asyn.h for asynch resolvers. | |||
2010-12-01 | fix compiler warning: conversion may lose significant bits | Yang Tse | |
2010-11-26 | hostip: edit comment | Yang Tse | |
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-11-08 | CURLOPT_RESOLVE: added | Daniel Stenberg | |
CURLOPT_RESOLVE is a new option that sends along a curl_slist with name:port:address sets that will populate the DNS cache with entries so that request can be "fooled" to use another host than what otherwise would've been used. Previously we've encouraged the use of Host: for that when dealing with HTTP, but this new feature has the added bonus that it allows the name from the URL to be used for TLS SNI and server certificate name checks as well. This is a first change. Surely more will follow to make it decent. | |||
2010-04-13 | fix compiler warning: variable might be clobbered by longjmp or vfork | Yang Tse | |
2010-04-04 | simplify code of Curl_resolv_timeout() | Kamil Dudka | |
2010-04-04 | eliminate a race condition in Curl_resolv_timeout() | Kamil Dudka | |
2010-03-24 | avoid compiler warning without USE_ALARM_TIMEOUT | Daniel Stenberg | |
2010-03-24 | remove the CVSish $Id$ lines | Daniel Stenberg | |
2010-03-22 | fix the alarm()-based DNS timeout | Thomas Lopatic | |
Looking at the code of Curl_resolv_timeout() in hostip.c, I think that in case of a timeout, the signal handler for SIGALRM never gets removed. I think that in my case it gets executed at some point later on when execution has long left Curl_resolv_timeout() or even the cURL library. The code that is jumped to with siglongjmp() simply sets the error message to "name lookup timed out" and then returns with CURLRESOLV_ERROR. I guess that instead of simply returning without cleaning up, the code should have a goto that jumps to the spot right after the call to Curl_resolv(). | |||
2010-01-23 | adjust preprocessor symbol definition check relative to resolver specialty | Yang Tse | |
2010-01-22 | wrap long lines and do some indent policing | Daniel Stenberg | |
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-11-12 | Constantine Sapuntzakis patch for hostip.c | Yang Tse | |
No need for a separate variable ndns. The memory leak detection will detect code that fails to release a dns reference. The DEBUGASSERT will detect code that releases too many references. | |||
2009-11-12 | Make hostip.c compile again | Yang Tse | |
2009-11-11 | - Constantine Sapuntzakis posted bug #2891595 | Daniel Stenberg | |
(http://curl.haxx.se/bug/view.cgi?id=2891595) which identified how an entry in the DNS cache would linger too long if the request that added it was in use that long. He also provided the patch that now makes libcurl capable of still doing a request while the DNS hash entry may get timed out. | |||
2009-09-01 | - Peter Sylvester made a debug featuer for Curl_resolv() that now will force | Daniel Stenberg | |
libcurl to resolve 'localhost' whatever name you use in the URL *if* you set the --interface option to (exactly) "LocalHost". This will enable us to write tests for custom hosts names but still use a local host server. | |||
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-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-10-20 | *** empty log message *** | Yang Tse | |
2008-10-19 | fix compiler warning | Yang Tse | |
2008-10-19 | attempt to fix or allow further detection of an elusive icc SIGSEGV | Yang Tse | |
2008-10-19 | attempt to fix compiler warning relative to potential misaligned data access | Yang Tse | |
2008-10-18 | Removed a line of dead code (discovered by Coverity) | Dan Fandrich | |
2008-10-17 | protect against 'use after free' or race condition | Yang Tse | |
2008-10-17 | fix compiler warning | Yang Tse | |
2008-10-17 | OOM condition fix | Yang Tse | |
2008-10-13 | attempt to fix or allow further detection of an elusive icc SIGSEGV | Yang Tse | |
2008-10-10 | attempt to fix or allow further detection of an elusive icc SIGSEGV | Yang Tse | |
2008-10-03 | fix another error introduced in previously mentioned commit | Yang Tse | |
2008-10-03 | fix error introduced in previous commit | Yang Tse | |
2008-10-02 | take 2 at fixing compiler warning: argument might be clobbered by `longjmp' ↵ | Yang Tse | |
or `vfork' | |||
2008-10-02 | fix compiler warning: `variable' might be clobbered by `longjmp' or `vfork' | Yang Tse | |
2008-10-01 | Fixed some compiler warnings with gcc | Dan Fandrich | |
2008-09-29 | Fixed a couple of compile warnings. | Dan Fandrich | |
2008-09-29 | Moved all signal-based name resolution timeout handling into a single new | Dan Fandrich | |
Curl_resolv_timeout function to reduce coupling. | |||
2008-09-24 | ntoa() and inet_ntoa_r() no longer used | Yang Tse | |
2008-09-06 | remove unnecessary typecasting of calloc() | Yang Tse | |
2008-09-02 | Removed some redundant type casts | Dan Fandrich | |
2008-07-09 | - Andreas Schuldei improved Phil Blundell's patch for IPv6 using c-ares, and I | Daniel Stenberg | |
edited it slightly. Now you should be able to use IPv6 addresses fine even with libcurl built to use c-ares. |