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.
This commit is contained in:
Vladimir Homutov 2020-05-29 13:29:24 +03:00
parent f45ec755a5
commit 101113a98f

View File

@ -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;
}