MINOR: quic-be: Call ->prepare_srv() callback at parsing time
This XPRT callback is called from check_config_validity() after the configuration has been parsed to initialize all the SSL server contexts. This patch implements the same thing for the QUIC servers.
This commit is contained in:
parent
5a711551a2
commit
0e67687ca9
@ -3767,6 +3767,8 @@ out_uri_auth_compat:
|
||||
((newsrv->flags & SRV_F_DEFSRV_USE_SSL) && newsrv->use_ssl != 1)) {
|
||||
if (xprt_get(XPRT_SSL) && xprt_get(XPRT_SSL)->prepare_srv)
|
||||
cfgerr += xprt_get(XPRT_SSL)->prepare_srv(newsrv);
|
||||
else if (xprt_get(XPRT_QUIC) && xprt_get(XPRT_QUIC)->prepare_srv)
|
||||
cfgerr += xprt_get(XPRT_QUIC)->prepare_srv(newsrv);
|
||||
}
|
||||
|
||||
if ((newsrv->flags & SRV_F_FASTOPEN) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user