]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: ssl: manage shared cache by blocks for huge sessions.
authorEmeric Brun <ebrun@exceliance.fr>
Wed, 28 Nov 2012 17:47:52 +0000 (18:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 4 Dec 2012 09:56:56 +0000 (10:56 +0100)
commitaf9619da3ee527671bb69250bbd6eabb2cff8c57
tree30b2673f2da1f62932e0dbbc8d97925765a7b995
parentdc979f24929ad5352832730954c83ba47afe24cc
MEDIUM: ssl: manage shared cache by blocks for huge sessions.

Sessions using client certs are huge (more than 1 kB) and do not fit
in session cache, or require a huge cache.

In this new implementation sshcachesize set a number of available blocks
instead a number of available sessions.

Each block is large enough (128 bytes) to store a simple session (without
client certs).

Huge sessions will take multiple blocks depending on client certificate size.

Note: some unused code for session sync with remote peers was temporarily
      removed.
doc/configuration.txt
include/proto/shctx.h
src/shctx.c