diff options
author | Vladimir Homutov <vl@nginx.com> | 2020-12-04 15:19:03 +0300 |
---|---|---|
committer | Vladimir Homutov <vl@nginx.com> | 2020-12-04 15:19:03 +0300 |
commit | 90ec7ef6dbc5e64a3eeafc5f6b79a06e830cedea (patch) | |
tree | 984364fced6970d87db9742fd58953aaa2f07500 /src | |
parent | 4b440cbf97af3ffe0ab31cb083fb1ce5b0fb5f89 (diff) | |
download | nginx-90ec7ef6dbc5e64a3eeafc5f6b79a06e830cedea.tar.gz nginx-90ec7ef6dbc5e64a3eeafc5f6b79a06e830cedea.zip |
QUIC: fixed missing quic flag on listener in the stream module.
Diffstat (limited to 'src')
-rw-r--r-- | src/stream/ngx_stream.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |