]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: ssl: add support for smaller SSL records
authorWilly Tarreau <w@1wt.eu>
Thu, 13 Nov 2014 13:06:52 +0000 (14:06 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Nov 2014 13:08:53 +0000 (14:08 +0100)
commit396a186def6b1046ca3781f0561367433647696a
tree9cc7a355ebd17a82cab8547431d93ebdc1cbba26
parentfba03cdc5ac6e3ca318b34915596cbc0a0dacc55
MEDIUM: ssl: add support for smaller SSL records

There's a very common openssl patch on the net meant to significantly
reduce openssl's memory usage. This patch has been provided for many
versions now, and it makes sense to add support for it given that it
is very simple. It only requires to add an extra SSL_MODE flag. Just
like for other flags, if the flag is unknown, it's unset. About 44kB
of memory may be saved per SSL session with the patch.
src/ssl_sock.c