From: Jiuzhou Cui Date: Fri, 25 Nov 2022 07:07:23 +0000 (+0800) Subject: HTTP/3: fixed build without NGX_PCRE (broken by 0f5fc7a320db). X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=7d73c50a2d11314270663ebfa4665719c66634f4;p=nginx.git HTTP/3: fixed build without NGX_PCRE (broken by 0f5fc7a320db). --- 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);