Welcome! Log In Create A New Profile

Advanced

HTTP/3: fixed build without NGX_PCRE (broken by 0f5fc7a320db).

Jiuzhou Cui
November 25, 2022 03:04AM
Hello!

# HG changeset patch
# User Jiuzhou Cui <cuijiuzhou@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);
_______________________________________________
nginx-devel mailing list -- nginx-devel@nginx.org
To unsubscribe send an email to nginx-devel-leave@nginx.org
Subject Author Views Posted

HTTP/3: fixed build without NGX_PCRE (broken by 0f5fc7a320db).

Jiuzhou Cui 354 November 25, 2022 03:04AM

Re: HTTP/3: fixed build without NGX_PCRE (broken by 0f5fc7a320db).

Sergey Kandaurov 167 November 25, 2022 06:58AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 183
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready