Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-11 | include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined. | Yang Tse | |
2006-07-07 | Ingmar Runge provided a source snippet that caused a crash. The reason for | Daniel Stenberg | |
the crash was that libcurl internally was a bit confused about who owned the DNS cache at all times so if you created an easy handle that uses a shared DNS cache and added that to a multi handle it would crash. Now we keep more careful internal track of exactly what kind of DNS cache each easy handle uses: None, Private (allocated for and used only by this single handle), Shared (points to a cache held by a shared object), Global (points to the global cache) or Multi (points to the cache within the multi handle that is automatically shared between all easy handles that are added with private caches). | |||
2006-05-04 | Roland Blom filed bug report #1481217 | Daniel Stenberg | |
(http://curl.haxx.se/bug/view.cgi?id=1481217), with follow-ups by Michele Bini and David Byron. libcurl previously wrongly used GetLastError() on windows to get error details after socket-related function calls, when it really should use WSAGetLastError() instead. When changing to this, the former function Curl_ourerrno() is now instead called Curl_sockerrno() as it is necessary to only use it to get errno from socket-related functions as otherwise it won't work as intended on Windows. | |||
2006-04-26 | Use the HAVE_MALLOC_H and HAVE_PROCESS_H defines | Gisle Vanem | |
(more logical). | |||
2006-02-16 | Shmulik Regev provided a fix for the DNS cache when using short life times, | Daniel Stenberg | |
as previously it could be holding on to old cached entries longer than requested. | |||
2005-04-19 | only define _REENTRANT if not already defined, and only in setup.h | Daniel Stenberg | |
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-01-25 | Use plain structs and not typedef'ed ones in the hash and linked-list code. | Daniel Stenberg | |
2004-11-18 | Dan Fandrich fix: eliminates some pedantic CodeWarrior compiler warnings and | Daniel Stenberg | |
errors. | |||
2004-10-10 | Prevent a longjmp warning by moving the rc assign within Curl_resolv(). | Daniel Stenberg | |
Andy Cedilnik reported. Warning on HP-UX? | |||
2004-10-06 | removed tabs and trailing whitespace from source | Daniel Stenberg | |
2004-10-04 | Made the dns entry remain locked while a connection to the host remains to | Daniel Stenberg | |
allow verbose output during this period. Bertrand Demiddelaer reported and helped fixing. | |||
2004-06-24 | the _num_chars() function is not used, removing | Daniel Stenberg | |
2004-06-24 | Replaced all uses of sprintf() with the safer snprintf(). It is just a | Daniel Stenberg | |
precaution to prevent mistakes to lead to buffer overflows. | |||
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 | prevent warning | Daniel Stenberg | |
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-05-17 | if shrinking the buffer fails, use the older larger one | Daniel Stenberg | |
2004-05-11 | curl_global_init_mem() allows the memory functions to be replaced. | Daniel Stenberg | |
memory.h is included everywhere for this. | |||
2004-05-04 | improved the cleaning up of memory when we fail to resolve names due to | Daniel Stenberg | |
out of memory (thanks to 'runtests.pl -t') | |||
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 | Major hostip.c cleanup and split into multiple files and easier #ifdef | Daniel Stenberg | |
usage. | |||
2004-04-23 | Gisle Vanem found and fixed a memory leak when doing (failing) Windows | Daniel Stenberg | |
threaded name resolves. | |||
2004-04-21 | include unistd.h as well for the close() proto on some platforms (like Tru64) | Daniel Stenberg | |
2004-04-20 | cleanup leftovers | Daniel Stenberg | |
2004-04-14 | asking for CURL_IPRESOLVE_V6 when ipv6 addresses can't be resolved will | Daniel Stenberg | |
now cause the resolve function to return NULL immediately | |||
2004-04-14 | Curl_wait_for_resolv() could hang due to the bad timeout timer resolution and | Daniel Stenberg | |
some bad thinking on my part. | |||
2004-04-13 | Gisle Vanem's fix that makes the multi interface work on Windows again even | Daniel Stenberg | |
when not using ares. | |||
2004-04-12 | somewhat safer typecasting in case sizeof(long) != sizeof(void *) (is there | Daniel Stenberg | |
even such platforms?) | |||
2004-04-06 | the pack_hostent() proto isn't used/needed with ipv6 is enabled. | Daniel Stenberg | |
time to restructure this source file! | |||
2004-04-06 | Gisle Vanem's fix for bug item #927979 reported by Nathan O'Sullivan. | Daniel Stenberg | |
Good enough? | |||
2004-04-01 | Dirk Manske's fix that makes sure we cancel the ares resolve when we time out | Daniel Stenberg | |
from a name resolve. Without this, we leak memory! | |||
2004-04-01 | removed my previously attempted fix for ares timeouts, not needed | Daniel Stenberg | |
2004-03-31 | Roy Shan fixed a case that prevented ares name resolve timeouts to occur. | Daniel Stenberg | |
2004-03-31 | Remove the elapsed time from the most recent select() only. | Daniel Stenberg | |
2004-03-31 | The asynch name resolve methods now all use CURL_TIMEOUT_RESOLVE for | Daniel Stenberg | |
the specific time to wait for a resolve. The definition is at the top of this source file. | |||
2004-03-31 | Dirk Manske found out the Curl_wait_for_resolv() timed out too early. | Daniel Stenberg | |
2004-03-30 | Lots of comments added an clarified. Added timeout for the ares version | Daniel Stenberg | |
of Curl_is_resolved() to address Roy Shan's reported problem. | |||
2004-03-29 | The select() timeout is better not static since some implementation actually | Daniel Stenberg | |
might change it. I don't *think* it does it when the timeout is 0,0 but it is better to be sure... | |||
2004-03-17 | Günter Knauf's NetWare changes. | Daniel Stenberg | |
2004-03-10 | store times in time_t | Daniel Stenberg | |
2004-03-09 | only build with the windows threading trace code if | Daniel Stenberg | |
DEBUG_THREADING_GETHOSTBYNAME is defined | |||
2004-03-03 | tv_sec is an int, so we explicitly typecast the result of long - long to | Daniel Stenberg | |
an int when we assign it. | |||
2004-02-23 | use size_t to keep strlen() results | Daniel Stenberg | |
2004-02-23 | simplied how create_hostcache_id() is used, and also its function somewhat | Daniel Stenberg | |
cleared up some ssize_t/size_t mixups |