comparison src/stream/ngx_stream.c @ 8654:9ebeed8cd1b8 quic

QUIC: fixed missing quic flag on listener in the stream module.
author Vladimir Homutov <vl@nginx.com>
date Fri, 04 Dec 2020 15:19:03 +0300
parents 893b3313f53c
children d514f88053e5
comparison
equal deleted inserted replaced
8653:1efee5e4194c 8654:9ebeed8cd1b8
512 512
513 #if (NGX_HAVE_REUSEPORT) 513 #if (NGX_HAVE_REUSEPORT)
514 ls->reuseport = addr[i].opt.reuseport; 514 ls->reuseport = addr[i].opt.reuseport;
515 #endif 515 #endif
516 516
517 #if (NGX_STREAM_QUIC)
518 ls->quic = addr[i].opt.quic;
519 #endif
517 stport = ngx_palloc(cf->pool, sizeof(ngx_stream_port_t)); 520 stport = ngx_palloc(cf->pool, sizeof(ngx_stream_port_t));
518 if (stport == NULL) { 521 if (stport == NULL) {
519 return NGX_CONF_ERROR; 522 return NGX_CONF_ERROR;
520 } 523 }
521 524