HTTP/3: fixed build without NGX_PCRE (broken by 0f5fc7a320db).
Sergey Kandaurov
pluknet at nginx.com
Fri Nov 25 11:56:27 UTC 2022
> On 25 Nov 2022, at 11:13, Jiuzhou Cui <jiuzhoucui at 163.com> wrote:
>
> Hello!
>
> # HG changeset patch
> # User Jiuzhou Cui <cuijiuzhou at alibaba-inc.com>
> # Date 1669360043 -28800
> # Fri Nov 25 15:07:23 2022 +0800
> # Branch quic
> # Node ID da7d9eb93afad52bd5b231501590535be9660d8c
> # Parent c6580dce98a8951fcecce2daa4b6bdbda8307bf7
> HTTP/3: fixed build without NGX_PCRE (broken by 0f5fc7a320db).
> ssl_servername_regex defined under macro NGX_PCRE.
>
> diff -r c6580dce98a8 -r da7d9eb93afa src/http/v3/ngx_http_v3_request.c
> --- a/src/http/v3/ngx_http_v3_request.c Wed Nov 23 18:50:26 2022 +0400
> +++ b/src/http/v3/ngx_http_v3_request.c Fri Nov 25 15:07:23 2022 +0800
> @@ -81,7 +81,9 @@
>
> 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);
Committed (with minor adjustment), thanks!
https://hg.nginx.org/nginx-quic/rev/210ad79a8853
--
Sergey Kandaurov
More information about the nginx-devel
mailing list