Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-01-22 | Definitions of resolver specialty compile-time defines CURLRES_* moved | Yang Tse | |
from hostip.h to setup.h in order to allow proper inclusion in any file. This represents no functional change at all in which resolver is used, everything still works as usual, internally and externally there is no difference in behavior. | |||
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-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. | |||
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 | Move curl_dofreeaddrinfo() and curl_dofreeaddrinfo() | Yang Tse | |
implementation from lib/hostip6.c to lib/curl_addrinfo.c and prototypes from lib/hostip.h to lib/curl_addrinfo.h | |||
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-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-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-18 | fix compiler warning: external declaration in primary source file | Yang Tse | |
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. | |||
2008-01-15 | Woops, partly revert my previous commit and do it slightly differently instead. | Daniel Stenberg | |
The signalling of that a global DNS cache is wanted is done by setting the option but the setting of the internal variable that it is in use must not be done until it finally actually gets used! NOTE and WARNING: I noticed that you can't actually switch off the global dns cache with CURLOPT_DNS_USE_GLOBAL_CACHE but you couldn't do that previously either and the option is very clearly and loudly documented as DO NOTE USE so I won't bother to fix this bug now. | |||
2008-01-15 | I made the torture test on test 530 go through. This was actually due to | Daniel Stenberg | |
silly code left from when we switched to let the multi handle "hold" the dns cache when using the multi interface... Of course this only triggered when a certain function call returned error at the correct moment. | |||
2007-09-28 | Adapted the c-ares code to the API change c-ares 1.5.0 brings in the | Daniel Stenberg | |
notifier callback(s). | |||
2007-06-30 | minor patches to enable building for NetWare CLIB. | Gunter Knauf | |
sent by Dmitry Mityugov. | |||
2006-09-08 | Compilation fix | Yang Tse | |
2006-09-07 | Major overhaul introducing http pipelining support and shared connection | Daniel Stenberg | |
cache within the multi handle. | |||
2006-08-08 | moved ugly NetWare hack to hostip.h so that hostip.c uses it too. | Gunter Knauf | |
2006-07-24 | Ares needs CURLRES_ADDRINFO_COPY. Curl_hostent_relocate() is gone. | Gisle Vanem | |
2006-07-21 | Constify arguments to Curl_he2ai() and Curl_addrinfo_copy(). | Gisle Vanem | |
2006-07-21 | Constify 'hostname' and 'service' to various resolver functions. | Gisle Vanem | |
2006-07-14 | Change the ai_addrlen type of struct addrinfo from size_t to socklen_t, per ↵ | Yang Tse | |
RFC 3493. | |||
2006-07-04 | Test HAVE_GETNAMEINFO definition before using GETNAMEINFO_XXX definitions. | Yang Tse | |
2006-07-03 | Fix compiler warning. | Yang Tse | |
2006-04-11 | added docs and removed proto | Daniel Stenberg | |
2006-04-10 | First curl_multi_socket() commit. Should primarily be considered as an internal | Daniel Stenberg | |
code rearrange to fit the future better. | |||
2006-02-23 | Lots of work and analysis by "xbx___" in bug #1431750 | Daniel Stenberg | |
(http://curl.haxx.se/bug/view.cgi?id=1431750) helped me identify and fix two different but related bugs: 1) Removing an easy handle from a multi handle before the transfer is done could leave a connection in the connection cache for that handle that is in a state that isn't suitable for re-use. A subsequent re-use could then read from a NULL pointer and segfault. 2) When an easy handle was removed from the multi handle, there could be an outstanding c-ares DNS name resolve request. When the response arrived, it caused havoc since the connection struct it "belonged" to could've been freed already. Now Curl_done() is called when an easy handle is removed from a multi handle pre-maturely (that is, before the transfer was complteted). Curl_done() also makes sure to cancel all (if any) outstanding c-ares requests. | |||
2005-12-11 | Undo last changes | Yang Tse | |
2005-12-11 | Fix 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-04-04 | kill warnings | Daniel Stenberg | |
2005-04-04 | hostthre.c: destroy_thread_data() made public. Called | Gisle Vanem | |
from url.c: Curl_disconnect(). | |||
2005-02-09 | FTP 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-08 | Curl_addrinfo?_callback() and addrinfo_callback() now returns | Gisle Vanem | |
CURLE_OK or CURLE_OUT_OF_MEMORY. Add typecast in hostares.c. | |||
2005-01-25 | Use plain structs and not typedef'ed ones in the hash and linked-list code. | Daniel Stenberg | |
2004-06-24 | Gisle cleaned up remaining host resolve re-org issues | Daniel Stenberg | |
2004-06-24 | made the Curl_he2ai() take the port number as an int intead, to avoid lots | Daniel Stenberg | |
of typecasts all over | |||
2004-06-24 | Source cleanups. The major one being that we now _always_ use a Curl_addrinfo | Daniel Stenberg | |
linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code. | |||
2004-06-10 | removed trailing whitespace | Daniel Stenberg | |
2004-06-10 | Gisle corrected two comments | Daniel Stenberg | |
2004-06-10 | Gisle Vanem's improved verbose output and timeout handling when connecting to | Daniel Stenberg | |
a host name that resolves to multiple IP addresses. | |||
2004-04-26 | Made defines instead of plain numbers for the Curl_resolv() return code to | Daniel Stenberg | |
make the code easier to read | |||
2004-04-26 | Curl_ip2addr() now takes an in_addr_t argument instead to prevent compiler | Daniel Stenberg | |
warnings | |||
2004-04-26 | Major hostip.c cleanup and split into multiple files and easier #ifdef | Daniel Stenberg | |
usage. | |||
2004-03-30 | adjusted to the new dns cache function to hide more hostip internals | Daniel Stenberg | |
2004-01-07 | updated year in the copyright string | Daniel Stenberg | |
2003-12-15 | added a library-wide interface for doing dns cache pruning, and no longer | Daniel Stenberg | |
make the pruning at each name lookup, only in Curl_done(). | |||
2003-10-04 | Based on a patch provided by Siddhartha Prakash Jain. In Curl_resolv() when | Daniel Stenberg | |
my_getaddrinfo() has been called (and wait has been set to TRUE), we check if the name already is resolved and if so don't return wait status to the parent. This can happen with IP-only names. | |||
2003-08-05 | ares awareness/usage/support added. If configure --enable-ares is used, we | Daniel Stenberg | |
build libcurl to use ares for asynch name resolves. | |||
2003-06-26 | use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditions | Daniel Stenberg | |
2003-05-13 | Setup and use CURL_INADDR_NONE all over instead of INADDR_NONE. We setup | Daniel Stenberg | |
the define accordingly in the hostip.h header to work nicely all over. |