]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: global: report information about the cost of SSL connections
authorWilly Tarreau <w@1wt.eu>
Thu, 15 Jan 2015 20:34:39 +0000 (21:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 15 Jan 2015 20:34:39 +0000 (21:34 +0100)
commitd92aa5c44a88e94d9b71e7726e2e5693df719519
treeb46f231735b43a80c1151debd88392135e8b9912
parentfce03113fa38dba08a7b2ec4d698a421dd3df7b7
MINOR: global: report information about the cost of SSL connections

An SSL connection takes some memory when it exists and during handshakes.
We measured up to 16kB for an established endpoint, and up to 76 extra kB
during a handshake. The SSL layer stores these values into the global
struct during initialization. If other SSL libs are used, it's easy to
change these values. Anyway they'll only be used as gross estimates in
order to guess the max number of SSL conns that can be established when
memory is constrained and the limit is not set.
include/common/defaults.h
include/types/global.h
src/ssl_sock.c