QUIC: fixed missing quic flag on listener in the stream module.
This commit is contained in:
parent
dc5ab4196f
commit
03a273fe76
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue