diff src/http/ngx_http.c @ 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 5d91389e0fd3
children db8fe75c9c7a
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;
 }