Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2008-03-11 | - Dmitry Popov filed bug report #1911069 | Daniel Stenberg | |
(http://curl.haxx.se/bug/view.cgi?id=1911069) that identified a race condition in the name resolver code when the DNS cache is shared between multiple easy handles, each running in simultaneous threads that could cause crashes. | |||
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-11-07 | if () => if() | Daniel Stenberg | |
while () => while() and some other minor re-indentings | |||
2007-09-28 | Renamed a variable to avoid shadowing a global declarations. | Dan Fandrich | |
2007-08-26 | Fixed some minor mismatched types found by splint. | Dan Fandrich | |