QUIC: fixed missing quic flag on listener in the stream module.

This commit is contained in:
Vladimir Homutov 2020-12-04 15:19:03 +03:00
parent 4b440cbf97
commit 90ec7ef6db

View File

@ -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;