Mercurial > hg > nginx
comparison src/stream/ngx_stream.c @ 8482:893b3313f53c quic
QUIC: added "quic" listen parameter in Stream.
Also, introduced ngx_stream_quic_module.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Tue, 21 Jul 2020 23:08:39 +0300 |
parents | 4f9b72a229c1 |
children | 9ebeed8cd1b8 |
comparison
equal
deleted
inserted
replaced
8481:0d2b2664b41c | 8482:893b3313f53c |
---|---|
570 | 570 |
571 addrs[i].conf.ctx = addr[i].opt.ctx; | 571 addrs[i].conf.ctx = addr[i].opt.ctx; |
572 #if (NGX_STREAM_SSL) | 572 #if (NGX_STREAM_SSL) |
573 addrs[i].conf.ssl = addr[i].opt.ssl; | 573 addrs[i].conf.ssl = addr[i].opt.ssl; |
574 #endif | 574 #endif |
575 #if (NGX_STREAM_QUIC) | |
576 addrs[i].conf.quic = addr[i].opt.quic; | |
577 #endif | |
575 addrs[i].conf.proxy_protocol = addr[i].opt.proxy_protocol; | 578 addrs[i].conf.proxy_protocol = addr[i].opt.proxy_protocol; |
576 addrs[i].conf.addr_text = addr[i].opt.addr_text; | 579 addrs[i].conf.addr_text = addr[i].opt.addr_text; |
577 } | 580 } |
578 | 581 |
579 return NGX_OK; | 582 return NGX_OK; |
605 | 608 |
606 addrs6[i].conf.ctx = addr[i].opt.ctx; | 609 addrs6[i].conf.ctx = addr[i].opt.ctx; |
607 #if (NGX_STREAM_SSL) | 610 #if (NGX_STREAM_SSL) |
608 addrs6[i].conf.ssl = addr[i].opt.ssl; | 611 addrs6[i].conf.ssl = addr[i].opt.ssl; |
609 #endif | 612 #endif |
613 #if (NGX_STREAM_QUIC) | |
614 addrs6[i].conf.quic = addr[i].opt.quic; | |
615 #endif | |
610 addrs6[i].conf.proxy_protocol = addr[i].opt.proxy_protocol; | 616 addrs6[i].conf.proxy_protocol = addr[i].opt.proxy_protocol; |
611 addrs6[i].conf.addr_text = addr[i].opt.addr_text; | 617 addrs6[i].conf.addr_text = addr[i].opt.addr_text; |
612 } | 618 } |
613 | 619 |
614 return NGX_OK; | 620 return NGX_OK; |