HTTP/3: fixed build without NGX_PCRE (broken by 0f5fc7a320db).

This commit is contained in:
Jiuzhou Cui 2022-11-25 15:07:23 +08:00
parent b015d4965e
commit 7d73c50a2d

View File

@ -81,7 +81,9 @@ ngx_http_v3_init(ngx_connection_t *c)
if (phc->ssl_servername) {
hc->ssl_servername = phc->ssl_servername;
#if (NGX_PCRE)
hc->ssl_servername_regex = phc->ssl_servername_regex;
#endif
hc->conf_ctx = phc->conf_ctx;
ngx_set_connection_log(c, clcf->error_log);