]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: ssl: cache doesn't release shctx blocks
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 3 Jan 2018 18:15:51 +0000 (19:15 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 5 Jan 2018 10:46:54 +0000 (11:46 +0100)
commit99b90af6213809a018e89988d7139f7048e97208
tree9098c871d5a3e3850792d6e0fccafa70a49a21d5
parente2a34967a9837ffe58920fbdbcb87168ea6935ad
BUG/MEDIUM: ssl: cache doesn't release shctx blocks

Since the rework of the shctx with the hot list system, the ssl cache
was putting session inside the hot list, without removing them.
Once all block were used, they were all locked in the hot list, which
was forbiding to reuse them for new sessions.

Bug introduced by 4f45bb9 ("MEDIUM: shctx: separate ssl and shctx")

Thanks to Jeffrey J. Persch for reporting this bug.

Must be backported to 1.8.
src/ssl_sock.c