changeset 9046:210ad79a8853 quic

HTTP/3: fixed build without NGX_PCRE (broken by 0f5fc7a320db).
author Jiuzhou Cui <cuijiuzhou@alibaba-inc.com>
date Fri, 25 Nov 2022 15:07:23 +0800
parents c6580dce98a8
children 70ce1e927715
files src/http/v3/ngx_http_v3_request.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);