aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2020-05-29 13:29:24 +0300
committerVladimir Homutov <vl@nginx.com>2020-05-29 13:29:24 +0300
commit101113a98f92b023c7d6586e45767ba3b886abd7 (patch)
tree78a04423031beef5f100b095ffe7a23a729cdea2 /src
parentf45ec755a565589ce26398f839b6f2548c07f6ab (diff)
downloadnginx-101113a98f92b023c7d6586e45767ba3b886abd7.tar.gz
nginx-101113a98f92b023c7d6586e45767ba3b886abd7.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http.c2
1 files changed, 2 insertions, 0 deletions
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;
}