From: William Lallemand Date: Fri, 4 Oct 2019 09:44:57 +0000 (+0200) Subject: MINOR: ssl: initialize explicitly the sni_ctx trees X-Git-Tag: v2.1-dev3~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=222a7c6;p=thirdparty%2Fhaproxy.git MINOR: ssl: initialize explicitly the sni_ctx trees --- diff --git a/include/proto/listener.h b/include/proto/listener.h index b245d6e128..761bff107a 100644 --- a/include/proto/listener.h +++ b/include/proto/listener.h @@ -157,6 +157,8 @@ static inline struct bind_conf *bind_conf_alloc(struct proxy *fe, const char *fi bind_conf->xprt = xprt; bind_conf->frontend = fe; bind_conf->severity_output = CLI_SEVERITY_NONE; + bind_conf->sni_ctx = EB_ROOT; + bind_conf->sni_w_ctx = EB_ROOT; LIST_INIT(&bind_conf->listeners); return bind_conf;