diff options
author | Roman Arutyunyan <arut@nginx.com> | 2023-05-14 12:05:35 +0400 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2023-05-14 12:05:35 +0400 |
commit | 779bfcff5f7544494c7c85ac73f41a033e749528 (patch) | |
tree | 3b2eb813fdff62f2b6b45d36a550a660ba64ad1a /src/stream/ngx_stream.c | |
parent | 089d1f653001419ea9d0b463434a89007ec805bd (diff) | |
download | nginx-779bfcff5f7544494c7c85ac73f41a033e749528.tar.gz nginx-779bfcff5f7544494c7c85ac73f41a033e749528.zip |
Stream: removed QUIC support.
Diffstat (limited to 'src/stream/ngx_stream.c')
-rw-r--r-- | src/stream/ngx_stream.c | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/src/stream/ngx_stream.c b/src/stream/ngx_stream.c index 4c41af173..2762786e2 100644 --- a/src/stream/ngx_stream.c +++ b/src/stream/ngx_stream.c @@ -518,22 +518,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; - - if (ls->quic) { - ngx_rbtree_init(&ls->rbtree, &ls->sentinel, - ngx_quic_rbtree_insert_value); - } - -#endif - #if !(NGX_WIN32) - if (!ls->quic) { - ngx_rbtree_init(&ls->rbtree, &ls->sentinel, - ngx_udp_rbtree_insert_value); - } + ngx_rbtree_init(&ls->rbtree, &ls->sentinel, + ngx_udp_rbtree_insert_value); #endif stport = ngx_palloc(cf->pool, sizeof(ngx_stream_port_t)); @@ -594,9 +581,6 @@ 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; } @@ -632,9 +616,6 @@ 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; } |