]> git.kaiwu.me - nginx.git/commitdiff
HTTP/3: fixed build without NGX_PCRE (broken by 0f5fc7a320db).
authorJiuzhou Cui <cuijiuzhou@alibaba-inc.com>
Fri, 25 Nov 2022 07:07:23 +0000 (15:07 +0800)
committerJiuzhou Cui <cuijiuzhou@alibaba-inc.com>
Fri, 25 Nov 2022 07:07:23 +0000 (15:07 +0800)
src/http/v3/ngx_http_v3_request.c

index 7921d8dc53c5b162f85beb9034b172de06c23ce3..969fdf35656fe1bf3f6a4a2df71405579fd176a3 100644 (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);