History log of /curl/lib/hash.h (Results 26 – 45 of 45)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d021f2e8 06-Dec-2012 Linus Nielsen Feltzing

Introducing a new persistent connection caching system using "bundles".

A bundle is a list of all persistent connections to the same host.
The connection cache consists of a hash of bund

Introducing a new persistent connection caching system using "bundles".

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.

show more ...


Revision tags: curl-7_28_1, curl-7_28_0, curl-7_27_0, curl-7_26_0, curl-7_25_0, curl-7_24_0, curl-7_23_1, curl-7_23_0, curl-7_22_0, curl-7_21_7, curl-7_21_6, curl-7_21_5, curl-7_21_4, curl-7_21_3, curl-7_21_2, curl-7_21_1, curl-7_21_0, curl-7_20_1
# 2309b4e3 24-Mar-2010 Daniel Stenberg

remove the CVSish $Id$ lines


Revision tags: curl-7_20_0, curl-7_19_7, curl-7_19_6, curl-7_19_5, curl-7_19_4, curl-7_19_3, curl-7_19_2, curl-7_19_1, curl-7_19_0, curl-7_18_2, curl-7_18_1, curl-7_18_0, curl-7_17_1, curl-7_17_0, curl-7_17_0-preldapfix, curl-7_16_4
# 62f0f557 26-Jun-2007 Daniel Stenberg

Robert Iakobashvili re-arranged the internal hash code to work with a custom
hash function for different hashes, and also expanded the default size for
the socket hash table used in multi han

Robert Iakobashvili re-arranged the internal hash code to work with a custom
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.

show more ...


Revision tags: curl-7_16_3, curl-7_16_2, curl-7_16_1, curl-7_16_0, curl-7_15_6-prepipeline, curl-7_15_5, curl-7_15_4, curl-7_15_3, curl-7_15_2, curl-7_15_1, curl-7_15_0, curl-7_14_1, c-ares-1_3_0, curl-7_14_0, curl-7_13_2, curl-7_13_1, before_ftp_statemachine, curl-7_13_0
# 043d70fc 25-Jan-2005 Daniel Stenberg

Use plain structs and not typedef'ed ones in the hash and linked-list code.


Revision tags: curl-7_12_3, curl-7_12_2, curl-7_12_1
# c39858aa 24-Jun-2004 Daniel Stenberg

Source cleanups. The major one being that we now _always_ use a Curl_addrinfo
linked list for name resolved data, even on hosts/systems with only IPv4
stacks as this simplifies a lot of code.


Revision tags: pre-aifix, curl-7_12_0, curl-7_11_2, c-ares-1_2_0, curl-7_11_1, curl-7_11_0
# 053f6c85 07-Jan-2004 Daniel Stenberg

updated year in the copyright string


Revision tags: curl-7_10_8
# 14597475 14-Sep-2003 Daniel Stenberg

Jeff Pohlmeyer did some marvelous debugging to track this one down. We MUST
NOT free the existing hash entry when we try to add a new one that matches
an existing entry. We now instead free t

Jeff Pohlmeyer did some marvelous debugging to track this one down. We MUST
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.

show more ...


Revision tags: curl-7_10_7
# 68a4aa67 14-Aug-2003 Daniel Stenberg

new proto for Curl_hash_init


Revision tags: curl-7_10_6, curl-7_10_5, curl-7_10_4
# a7c72b7a 29-Jan-2003 Daniel Stenberg

removed the local variables for emacs and vim, use the new sample.emacs
way for emacs, and vim users should provide a similar non-polluting style


# f26a338a 16-Jan-2003 Daniel Stenberg

copyright year update in the source header


Revision tags: curl-7_10_3, curl-7_10_2
# 2cff2518 05-Nov-2002 Daniel Stenberg

Curl_resolv() now returns a different struct, and it contains a reference
counter so that the caller needs to decrease that counter when done with
the returned data.

If compiled with

Curl_resolv() now returns a different struct, and it contains a reference
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.

show more ...


Revision tags: curl-7_10_1, curl-7_10
# ba4e69be 03-Sep-2002 Daniel Stenberg

updated source code boilerplate/header


Revision tags: curl-7_9_8, curl-7_9_7, curl-7_9_7-pre2
# 8358505b 27-Apr-2002 Daniel Stenberg

Now uses Curl_ as prefix for internal global symbols. curl_ should only be
used for "exported" globals.


# a386562d 17-Apr-2002 Sterling Hughes

Prune old hostcache entries with each call...
This can be optimized a tidbit, but this is a start.


Revision tags: curl-7_9_6
# bb44791b 13-Apr-2002 Sterling Hughes

Add protos and change return value of curl_hash_count....


# 9ebcfe9d 12-Apr-2002 Sterling Hughes

Speed up the hash code considerably, removing a bunch of legacy crud


# 974f314f 19-Mar-2002 Daniel Stenberg

copyright string (year) update


Revision tags: curl-7_9_5, curl-7_9_5-pre4, curl-7_9_5-pre2, curl-7_9_4, curl-7_9_3, curl-7_9_3-pre3, curl-7_9_3-pre2
# a1f910c1 14-Jan-2002 Sterling Hughes

Remove erreaneous include, setup.h is included one line above


Revision tags: curl-7_9_3-pre1
# 8d7f402e 07-Jan-2002 Sterling Hughes

Make cach'ing work with threads now, there are now three cases:

- Use a global dns cache (via setting the tentatively named,
CURLOPT_DNS_USE_GLOBAL_CACHE option to true)

Make cach'ing work with threads now, there are now three cases:

- 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

show more ...


# 6de7dc58 03-Jan-2002 Daniel Stenberg

Sterling Hughes' provided initial DNS cache source code.


12