From 90ec7ef6dbc5e64a3eeafc5f6b79a06e830cedea Mon Sep 17 00:00:00 2001 From: Vladimir Homutov Date: Fri, 4 Dec 2020 15:19:03 +0300 Subject: [PATCH] QUIC: fixed missing quic flag on listener in the stream module. --- src/stream/ngx_stream.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/stream/ngx_stream.c b/src/stream/ngx_stream.c index bc4aa09a3..1ef689c17 100644 --- a/src/stream/ngx_stream.c +++ b/src/stream/ngx_stream.c @@ -514,6 +514,9 @@ ngx_stream_optimize_servers(ngx_conf_t *cf, ngx_array_t *ports) ls->reuseport = addr[i].opt.reuseport; #endif +#if (NGX_STREAM_QUIC) + ls->quic = addr[i].opt.quic; +#endif stport = ngx_palloc(cf->pool, sizeof(ngx_stream_port_t)); if (stport == NULL) { return NGX_CONF_ERROR;