Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-12-25 | Curl_hash_clean: OOM handling fix | Yang Tse | |
2012-12-07 | Introducing a new persistent connection caching system using "bundles". | Linus Nielsen Feltzing | |
A bundle is a list of all persistent connections to the same host. The connection cache consists of a hash of bundles, with the hostname as the key. The benefits may not be obvious, but they are two: 1) Faster search for connections to reuse, since the hash lookup only finds connections to the host in question. 2) It lays out the groundworks for an upcoming patch, which will introduce multiple HTTP pipelines. This patch also removes the awkward list of "closure handles", which were needed to send QUIT commands to the FTP server when closing a connection. Now we allocate a separate closure handle and use that one to close all connections. This has been tested in a live system for a few weeks, and of course passes the test suite. | |||
2011-12-25 | hash.c: fix OOM triggered segfault | Yang Tse | |
2011-10-11 | OOM handling/cleanup slight adjustments | Yang Tse | |
2011-10-07 | libcurl: some OOM handling fixes | Yang Tse | |
2011-07-26 | stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.h | Yang Tse | |
2011-06-10 | unittest: mark all unit tested functions | Daniel Stenberg | |
With "@unittest: [num]" in the header comment for each tested function. Shows we have a log way to go still... | |||
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. | |||
2010-03-24 | remove the CVSish $Id$ lines | Daniel Stenberg | |
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-06-10 | Adjusted to take in account that... | Yang Tse | |
With the curl memory tracking feature decoupled from the debug build feature, CURLDEBUG and DEBUGBUILD preprocessor symbol definitions are used as follows: CURLDEBUG used for curl debug memory tracking specific code (--enable-curldebug) DEBUGBUILD used for debug enabled specific code (--enable-debug) | |||
2009-04-21 | libcurl's memory.h renamed to curl_memory.h | Yang Tse | |
2008-10-27 | add null-pointer check | Yang Tse | |
2008-10-25 | add missing header inclusions | Yang Tse | |
2008-10-23 | moved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_ | Daniel Stenberg | |
inclusion by the curl tool without colliding with the curl_strequal functions. | |||
2008-10-20 | remove debug-code which zero-filled some structures before free()ing them | Yang Tse | |
2008-10-19 | oops | Yang Tse | |
2008-10-19 | attempt to fix or allow further detection of an elusive icc SIGSEGV | Yang Tse | |
2008-09-06 | remove unnecessary typecasting of malloc() | Yang Tse | |
2007-11-07 | if () => if() | Daniel Stenberg | |
while () => while() and some other minor re-indentings | |||
2007-09-27 | Renamed a few variables to avoid shadowing global declarations. | Dan Fandrich | |
2007-08-29 | Added lots of consts | Dan Fandrich | |
2007-06-26 | Robert Iakobashvili re-arranged the internal hash code to work with a custom | Daniel Stenberg | |
hash function for different hashes, and also expanded the default size for the socket hash table used in multi handles to greatly enhance speed when very many connections are added and the socket API is used. | |||
2006-09-10 | Added a useful debug function within #if 0. The function makes it easy to | Daniel Stenberg | |
"dump" a hash table which is useful when tracking problems with data stored in one of our hashes. | |||
2006-04-10 | First curl_multi_socket() commit. Should primarily be considered as an internal | Daniel Stenberg | |
code rearrange to fit the future better. | |||
2005-01-25 | Use plain structs and not typedef'ed ones in the hash and linked-list code. | 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-05-11 | curl_global_init_mem() allows the memory functions to be replaced. | Daniel Stenberg | |
memory.h is included everywhere for this. | |||
2004-05-10 | Curl_hash_add() was modified to clear up better in case of internal failure. | Daniel Stenberg | |
When failing, it should not tamper at all with the data it was supposed to add to the cache. | |||
2004-05-10 | better checking that strdup() works | Daniel Stenberg | |
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-01-07 | updated year in the copyright string | Daniel Stenberg | |
2003-12-15 | make sure that hash_add() has no allocated resources left in case it | Daniel Stenberg | |
returns NULL | |||
2003-09-14 | Jeff Pohlmeyer did some marvelous debugging to track this one down. We MUST | Daniel Stenberg | |
NOT free the existing hash entry when we try to add a new one that matches an existing entry. We now instead free the new one, and make the parent function use the old entry's struct instead. | |||
2003-09-05 | Uses less macros. #ifdef'ed out unused functions. Edited slightly to be | Daniel Stenberg | |
more in the same style as other curl source code. The only actual code change is an added check after a malloc() call. | |||
2003-08-14 | 1. check allocs | Daniel Stenberg | |
2. don't leave allocated memory behind when returning error | |||
2003-06-26 | use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditions | Daniel Stenberg | |
2003-01-29 | removed weirdo {{{ and }}} comments | Daniel Stenberg | |
removed emacs local-variables stuff | |||
2003-01-16 | copyright year update in the source header | Daniel Stenberg | |
2002-11-05 | Curl_resolv() now returns a different struct, and it contains a reference | Daniel Stenberg | |
counter so that the caller needs to decrease that counter when done with the returned data. If compiled with MALLOCDEBUG I've added some extra checking that the counter is decreased before a handle is closed etc. | |||
2002-09-03 | updated source code boilerplate/header | Daniel Stenberg | |
2002-04-27 | DNC cache prune crash removed, made the name spacing follow the general | Daniel Stenberg | |
rule: "Curl_" prefix for library-wide private symbols, "curl_" is for exported symbols. | |||
2002-04-17 | Prune old hostcache entries with each call... | Sterling Hughes | |
This can be optimized a tidbit, but this is a start. | |||
2002-04-13 | Add protos and change return value of curl_hash_count.... | Sterling Hughes | |
2002-04-12 | Speed up the hash code considerably, removing a bunch of legacy crud | Sterling Hughes | |
2002-03-19 | copyright string (year) update | Daniel Stenberg | |
2002-02-17 | Philip Gladstone's 64-bit issues corrected. | Daniel Stenberg | |
Reminder for the future: when we're using malloc() we MUST include <stdlib.h> as otherwise 64bit archs go bananas. Bug report #517687 | |||
2002-01-18 | I wish I could type. Anyway, this proved it is a good habit to put the NULL | Daniel Stenberg | |
on the left side of comparisons... | |||
2002-01-18 | added typecast for a malloc() return, and added check for NULL | Daniel Stenberg | |
2002-01-07 | Make cach'ing work with threads now, there are now three cases: | Sterling Hughes | |
- Use a global dns cache (via setting the tentatively named, CURLOPT_DNS_USE_GLOBAL_CACHE option to true) - Use a per-handle dns cache, by default - Use a pooled dns cache when in the "multi" interface |