aboutsummaryrefslogtreecommitdiff
path: root/src/http/v3/ngx_http_v3_request.c
diff options
context:
space:
mode:
authorJiuzhou Cui <cuijiuzhou@alibaba-inc.com>2022-11-25 15:07:23 +0800
committerJiuzhou Cui <cuijiuzhou@alibaba-inc.com>2022-11-25 15:07:23 +0800
commit7d73c50a2d11314270663ebfa4665719c66634f4 (patch)
treed3edfc2ed81d2c947fed3e726496d7cfa2ae74fc /src/http/v3/ngx_http_v3_request.c
parentb015d4965ef296b7b31adae9165c5c049cf9026c (diff)
downloadnginx-7d73c50a2d11314270663ebfa4665719c66634f4.tar.gz
nginx-7d73c50a2d11314270663ebfa4665719c66634f4.zip
HTTP/3: fixed build without NGX_PCRE (broken by 0f5fc7a320db).
Diffstat (limited to 'src/http/v3/ngx_http_v3_request.c')
-rw-r--r--src/http/v3/ngx_http_v3_request.c2
1 files changed, 2 insertions, 0 deletions
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);