BUG/MINOR: ssl: free correctly the sni in the backend SSL cache
authorWilliam Lallemand <wlallemand@haproxy.org>
Tue, 23 Nov 2021 14:15:09 +0000 (15:15 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 23 Nov 2021 14:20:59 +0000 (15:20 +0100)
commitce9903319cc5b3cdcaec1ad45253899e7334857c
treebc88a2d3b0ce7b6241fb197330818ce7b1bf839b
parenta4d09e7ffdbf8a56010ea09c5d5b68d2831be8b8
BUG/MINOR: ssl: free correctly the sni in the backend SSL cache

__ssl_sock_load_new_ckch_instance() does not free correctly the SNI in
the session cache, it only frees the one in the current tid.

This bug was introduced with e18d4e8 ("BUG/MEDIUM: ssl: backend TLS
resumption with sni and TLSv1.3").

This fix must be backported where the mentionned commit was backported.
(all maintained versions).
src/ssl_ckch.c