mirror of
https://github.com/nginx/nginx.git
synced 2025-06-21 21:31:05 +08:00
QUIC: fixed missing quic flag on listener in the stream module.
This commit is contained in:
parent
4b440cbf97
commit
90ec7ef6db
@ -514,6 +514,9 @@ ngx_stream_optimize_servers(ngx_conf_t *cf, ngx_array_t *ports)
|
|||||||
ls->reuseport = addr[i].opt.reuseport;
|
ls->reuseport = addr[i].opt.reuseport;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if (NGX_STREAM_QUIC)
|
||||||
|
ls->quic = addr[i].opt.quic;
|
||||||
|
#endif
|
||||||
stport = ngx_palloc(cf->pool, sizeof(ngx_stream_port_t));
|
stport = ngx_palloc(cf->pool, sizeof(ngx_stream_port_t));
|
||||||
if (stport == NULL) {
|
if (stport == NULL) {
|
||||||
return NGX_CONF_ERROR;
|
return NGX_CONF_ERROR;
|
||||||
|
Loading…
Reference in New Issue
Block a user