From: Vladimir Homutov Date: Fri, 29 May 2020 10:29:24 +0000 (+0300) Subject: Added propagation of the "wildcard" flag to c->listening. X-Git-Tag: release-1.25.0~4^2~690 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=101113a98f92b023c7d6586e45767ba3b886abd7;p=nginx.git 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. --- 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; }