]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: ssl: Release cached SSL sessions on deinit
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 7 Oct 2020 11:20:23 +0000 (13:20 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 7 Oct 2020 12:07:29 +0000 (14:07 +0200)
commit58feb49ed2d718ac7f5ea20223562a52be85c121
treea66858b9984b72deba70d848d40d8791edaa5410
parentd7c6e6a71d34ec028365c4d4c96063b3d5e0e3a4
CLEANUP: ssl: Release cached SSL sessions on deinit

On deinit, when the server SSL ctx is released, we must take care to release the
cached SSL sessions stored in the array <ssl_ctx.reused_sess>. There are
global.nbthread entries in this array, each one may have a pointer on a cached
session.

This patch should fix the issue #802. No backport needed.
src/ssl_sock.c