From 7d73c50a2d11314270663ebfa4665719c66634f4 Mon Sep 17 00:00:00 2001 From: Jiuzhou Cui Date: Fri, 25 Nov 2022 15:07:23 +0800 Subject: HTTP/3: fixed build without NGX_PCRE (broken by 0f5fc7a320db). --- src/http/v3/ngx_http_v3_request.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/http/v3/ngx_http_v3_request.c b/src/http/v3/ngx_http_v3_request.c index 7921d8dc5..969fdf356 100644 --- a/src/http/v3/ngx_http_v3_request.c +++ b/src/http/v3/ngx_http_v3_request.c @@ -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); -- cgit