From 101113a98f92b023c7d6586e45767ba3b886abd7 Mon Sep 17 00:00:00 2001 From: Vladimir Homutov Date: Fri, 29 May 2020 13:29:24 +0300 Subject: Added propagation of the "wildcard" flag to c->listening. The flags was originally added by 8f038068f4bc, and is propagated correctly in the stream module. With QUIC introduction, http module now uses datagram sockets as well, thus the fix. --- src/http/ngx_http.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/http/ngx_http.c') diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 10f88fabb..1b5e387db 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -1795,6 +1795,8 @@ ngx_http_add_listening(ngx_conf_t *cf, ngx_http_conf_addr_t *addr) ls->reuseport = addr->opt.reuseport; #endif + ls->wildcard = addr->opt.wildcard; + return ls; } -- cgit