changeset 8419:cb149fa03367 quic

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.
author Vladimir Homutov <vl@nginx.com>
date Fri, 29 May 2020 13:29:24 +0300
parents 8b4a0a752723
children 2bf17a829ddc
files src/http/ngx_http.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -1795,6 +1795,8 @@ ngx_http_add_listening(ngx_conf_t *cf, n
     ls->reuseport = addr->opt.reuseport;
 #endif
 
+    ls->wildcard = addr->opt.wildcard;
+
     return ls;
 }