diff options
author | Roman Arutyunyan <arut@nginx.com> | 2020-07-21 23:08:39 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2020-07-21 23:08:39 +0300 |
commit | 36f2873f6b0d8512c053935614fcc6ae9d969858 (patch) | |
tree | 5d50f945509b360aeeca15487cb9d28f6a9b09e1 /src/stream/ngx_stream.c | |
parent | b813b9ec358862a2a94868bc057420d6eca5c05d (diff) | |
download | nginx-36f2873f6b0d8512c053935614fcc6ae9d969858.tar.gz nginx-36f2873f6b0d8512c053935614fcc6ae9d969858.zip |
QUIC: added "quic" listen parameter in Stream.
Also, introduced ngx_stream_quic_module.
Diffstat (limited to 'src/stream/ngx_stream.c')
-rw-r--r-- | src/stream/ngx_stream.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stream/ngx_stream.c b/src/stream/ngx_stream.c index 78356754e..bc4aa09a3 100644 --- a/src/stream/ngx_stream.c +++ b/src/stream/ngx_stream.c @@ -572,6 +572,9 @@ ngx_stream_add_addrs(ngx_conf_t *cf, ngx_stream_port_t *stport, #if (NGX_STREAM_SSL) addrs[i].conf.ssl = addr[i].opt.ssl; #endif +#if (NGX_STREAM_QUIC) + addrs[i].conf.quic = addr[i].opt.quic; +#endif addrs[i].conf.proxy_protocol = addr[i].opt.proxy_protocol; addrs[i].conf.addr_text = addr[i].opt.addr_text; } @@ -607,6 +610,9 @@ ngx_stream_add_addrs6(ngx_conf_t *cf, ngx_stream_port_t *stport, #if (NGX_STREAM_SSL) addrs6[i].conf.ssl = addr[i].opt.ssl; #endif +#if (NGX_STREAM_QUIC) + addrs6[i].conf.quic = addr[i].opt.quic; +#endif addrs6[i].conf.proxy_protocol = addr[i].opt.proxy_protocol; addrs6[i].conf.addr_text = addr[i].opt.addr_text; } |