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 7702f830dd
commit a7bda07bda
1 changed files with 2 additions and 0 deletions

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);